all repos

dotfiles @ 0d2b7d6ba31191427300a55fedd843c0f86003d0

i use rach linux btw
31 files changed, 756 insertions(+), 313 deletions(-)
:art: Update
Author: Smirnov Olexandr ss2316544@gmail.com
Committed at: 2020-11-25 20:53:55 +0200
Parent: 07805d4
A Makefile
···
                
                1
                +install_config:

              
                
                2
                +	cp ./bashrc ~/.bashrc

              
                
                3
                +	cp ./gitconfig ~/.gitconfig

              
                
                4
                +	cp ./gitignore_global ~/.gitignore_global

              
                
                5
                +	cp ./taskrc ~/.taskrc

              
                
                6
                +	cp ./vimrc ~/.vimrc

              
                
                7
                +	cp ./zshrc ~/.zshrc

              
                
                8
                +	cp ./conkyrc ~/.conkyrc

              
                
                9
                +	cp ./config/picom.conf ~/.config/picom.conf

              
                
                10
                +	cp ./config/redshift.conf ~/.config/redshift.conf

              
                
                11
                +	cp -r ./config/berry/ ~/.config/

              
                
                12
                +	cp -r ./config/dunst/ ~/.config/

              
                
                13
                +	cp -r ./config/fish/ ~/.config/

              
                
                14
                +	cp -r ./config/htop/ ~/.config/

              
                
                15
                +	cp -r ./config/i3/ ~/.config/

              
                
                16
                +	cp -r ./config/kitty/ ~/.config

              
                
                17
                +	cp -r ./config/neofetch/ ~/.config/

              
                
                18
                +	cp -r ./config/polybar/ ~/.config/

              
                
                19
                +	cp -r ./config/qutebrowser/ ~/.config/

              
                
                20
                +	cp -r ./config/ranger ~/.config/

              
                
                21
                +	cp -r ./config/rofi/ ~/.config/

              
                
                22
                +

              
                
                23
                +install_script:

              
                
                24
                +	mkdir ~/.script/dmenu -p

              
                
                25
                +	cp ./script/change-shell.sh ~/.script/change-shell.sh

              
                
                26
                +	cp ./script/manjaro-fetch.sh ~/.script/manjaro-fetch.sh

              
                
                27
                +	cp ./script/snap-remove-old-pkg.sh ~/.script/snap-remove-old-pkg.sh

              
                
                28
                +	cp ./script/walpapper-changer.sh ~/.script/walpapper-changer.sh

              
                
                29
                +	cp ./script/dmenu/dmenu-power.sh ~/.script/dmenu/dmenu-power.sh

              
                
                30
                +	cp ./script/dmenu/dmenu-config-edit.sh ~/.script/dmenu/dmenu-config-edit.sh

              
                
                31
                +	cp ./scripts/dmenu/dmenu-sysmon.sh ~/.script/dmenu/dmenu-sysmon.sh

              
                
                32
                +

              
                
                33
                +install: install_config install_script 

              
M README.md
···
                1
                1
                 # Dotfiles

              
                2
                
                -![Screen](https://i.imgur.com/OFEhWem.png)

              
                3
                2
                 __walpappers: [Dropbox](https://www.dropbox.com/s/yx7tsplowtyih7f/walpapper.zip?dl=0) [Google Drive](https://drive.google.com/file/d/1PX76sgLygXfo9qhsdN3cCsFuFuNKpM1y/view?usp=sharing)__

              
                4
                3
                 

              
                5
                4
                 **Preparing for installation**

              
                6
                5
                 ~~~bash

              
                7
                
                -curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh

              
                8
                
                -git clone https://github.com/Smirnov-O/zsh-simple-colors ~/.oh-my-zsh/custom/themes

              
                9
                
                -curl -L https://get.oh-my.fish | fish

              
                
                6
                +git clone https://github.com/Smirnov-O/dotfiles

              
                
                7
                +make install

              
                10
                8
                 

              
                11
                9
                 sudo pacman -S i3-wm bspwm polybar dunst rofi picom feh nitrogen redshift task \

              
                12
                10
                 kitty ranger htop bash zsh git vim neofetch scrot clipboard yay bash zsh python-tldextract \

              ···
                17
                15
                 ### Packages

              
                18
                16
                 | Name                                                                     | Description       |

              
                19
                17
                 | ------------------------------------------------------------------------ | ----------------- |

              
                20
                
                -| `i3-wm`, `qtile`                                                | Window Manager    |

              
                
                18
                +| `i3-wm`, `qtile`                                                         | Window Manager    |

              
                21
                19
                 | `polybar`                                                                | Panel             |

              
                22
                20
                 | `dunst`                                                                  | Notify manager    |

              
                23
                21
                 | `rofi`                                                                   | Program loncher   |

              
A config/berry/README.md
···
                
                1
                +# [Berry](https://berrywm.org)

              
                
                2
                +

              
                
                3
                +![Seceenshot](screen.png)

              
                
                4
                +

              
                
                5
                +---

              
                
                6
                +

              
                
                7
                +### Autostart

              
                
                8
                +~~~bash

              
                
                9
                +sxhkd -c ~/.config/berry/sxhkdrc &

              
                
                10
                +picom -b &

              
                
                11
                +~/.config/berry/polybar/bar.sh &

              
                
                12
                +nitrogen --restore &

              
                
                13
                +setxkbmap "us,ru,ua" ",winkeys" "grp:alt_shift_toggle" -option "ctrl:nocaps"

              
                
                14
                +~~~

              
                
                15
                +

              
                
                16
                +### Keybindings

              
                
                17
                +---------------

              
                
                18
                +

              
                
                19
                +| Shourtcut                 | Command                                                                                                  |

              
                
                20
                +| ------------------------- | ------                                                                                                   |

              
                
                21
                +| `mod` + q                 | Kill focus window                                                                                        |

              
                
                22
                +| `mod` + `split` + enter   | Run program launcher (Rofi)                                                                              |

              
                
                23
                +| `mod` + esc               | Power [menu](https://github.com/Smirnov-O/dotfiles/blob/master/scripts/dmenu/dmenu-power.sh)             |

              
                
                24
                +| `mod` + `ctrl` + u        | Config edit [menu](https://github.com/Smirnov-O/dotfiles/blob/master/scripts/dmenu/dmenu-config-edit.sh) |

              
                
                25
                +| `mod` + `ctrl` + i        | Passmenu(Dmenu interface for [pass](https://passwordstore.org))                                          |

              
                
                26
                +| `mod` + enter             | Run `kitty`                                                                                              |

              
                
                27
                +| `mod` + F2                | Run `firefox`                                                                                            |

              
                
                28
                +| `mod` + `shift` + esc     | Run `xkill`                                                                                              |

              
                
                29
                +| `mod` + plus              | Add 5% volume                                                                                            |

              
                
                30
                +| `mod` + minus             | Minus 5% volume                                                                                          |

              
                
                31
                +| `mod` + `shift` + minus   | Mute volume                                                                                              |

              
                
                32
                +| `mod` + tab               | Change focus window                                                                                      |

              
                
                33
                +| `mod` + h/j/k/l           | Move focus window                                                                                        |

              
                
                34
                +| `mod` + `shift` + h/j/k/l | Resize focus window                                                                                      |

              
                
                35
                +| `mod` + [1-9]             | Change workspace                                                                                         |

              
                
                36
                +| `mod` + `shift` + [1-9]   | Send focus window to workspace                                                                           |

              
                
                37
                +| `mod` + `alt` + t         | Open ~/.todo file                                                                                        |

              
A config/berry/autostart
···
                
                1
                +#!/bin/bash

              
                
                2
                +sxhkd -c ~/.config/berry/sxhkdrc &

              
                
                3
                +picom -b &

              
                
                4
                +/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &

              
                
                5
                +setxkbmap "us,ru,ua" ",winkeys" "grp:alt_shift_toggle" -option "ctrl:nocaps" &

              
                
                6
                +~/.config/berry/polybar/bar.sh &

              
                
                7
                +nitrogen --restore &

              
                
                8
                +

              
                
                9
                +berryc border_width       1

              
                
                10
                +berryc inner_border_width 1 

              
                
                11
                +berryc title_height       0

              
                
                12
                +berryc top_gap            0 

              
                
                13
                +

              
                
                14
                +berryc focus_color         073642

              
                
                15
                +berryc unfocus_color       002b36

              
                
                16
                +berryc inner_focus_color   268bd2

              
                
                17
                +berryc inner_unfocus_color 002b36

              
                
                18
                +berryc text_focus_color    ffffff

              
                
                19
                +berryc text_unfocus_color  efefef

              
                
                20
                +

              
                
                21
                +berryc smart_place "true"

              
                
                22
                +berryc draw_text   "true"

              
                
                23
                +berryc edge_lock   "true"

              
                
                24
                +berryc set_font    "Jetbrains Mono"

              
A config/berry/polybar/bar.sh
···
                
                1
                +#!/bin/bash

              
                
                2
                +killall -q polybar

              
                
                3
                +while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done

              
                
                4
                +polybar -c ~/.config/berry/polybar/polybar top &

              
                
                5
                +polybar -c ~/.config/berry/polybar/polybar bom &

              
A config/berry/polybar/polybar
···
                
                1
                +[settings]

              
                
                2
                +pseudo-transparency = true

              
                
                3
                +

              
                
                4
                +[colors]

              
                
                5
                +background = #002B36

              
                
                6
                +foreground = #dfdfdf

              
                
                7
                +secondary = #073642

              
                
                8
                +alert = #268bd2

              
                
                9
                +

              
                
                10
                +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

              
                
                11
                +[bar/top]

              
                
                12
                +width = 14%

              
                
                13
                +height = 22

              
                
                14
                +override-redirect = false 

              
                
                15
                +background = ${colors.background}

              
                
                16
                +foreground = ${colors.foreground}

              
                
                17
                +offset-x = 85.8%

              
                
                18
                +offset-y = 0.4%

              
                
                19
                +module-margin-left = 1

              
                
                20
                +module-margin-right = 1

              
                
                21
                +font-0 = Iosevka Nerd Font:style=Medium:size=8;3

              
                
                22
                +font-1 = FontAwesome5Free:style=Solid:size=7.5;2.5

              
                
                23
                +modules-center = keyboard pulseaudio wifi-signal time

              
                
                24
                +

              
                
                25
                +[bar/bom]

              
                
                26
                +width = 6%

              
                
                27
                +height = 22

              
                
                28
                +bottom = true

              
                
                29
                +offset-x = 93.8%

              
                
                30
                +offset-y = 0.4%

              
                
                31
                +font-0 = Iosevka Nerd Font:style=Medium:size=8;3

              
                
                32
                +font-1 = FontAwesome5Free:style=Solid:size=7.5;2.5

              
                
                33
                +background = ${colors.background}

              
                
                34
                +foreground = ${colors.foreground}

              
                
                35
                +modules-center = t

              
                
                36
                +tray-position = center

              
                
                37
                +

              
                
                38
                +[module/backlight]

              
                
                39
                +type = internal/xbacklight

              
                
                40
                +format = <ramp> <label>

              
                
                41
                +label = %percentage%%

              
                
                42
                +ramp-0 = 

              
                
                43
                +

              
                
                44
                +[module/wifi-signal]

              
                
                45
                +type = custom/script

              
                
                46
                +label =  %output:%%

              
                
                47
                +exec = ~/.config/polybar/scripts/wifi-signal.sh

              
                
                48
                +interval = 3.0

              
                
                49
                +

              
                
                50
                +[module/pulseaudio]

              
                
                51
                +type = internal/pulseaudio

              
                
                52
                +format-volume = <ramp-volume> <label-volume> 

              
                
                53
                +label-volume = %percentage%%

              
                
                54
                +label-volume-foreground = ${root.foreground}

              
                
                55
                +label-muted = 

              
                
                56
                +ramp-volume-0 = 

              
                
                57
                +ramp-volume-1 = 

              
                
                58
                +ramp-volume-2 = 

              
                
                59
                +ramp-volume-3 = 

              
                
                60
                +ramp-volume-4 = 

              
                
                61
                +

              
                
                62
                +[module/updates-pacman]

              
                
                63
                +type = custom/script

              
                
                64
                +exec = ~/.config/polybar/scripts/updates-pacman-aur.sh

              
                
                65
                +interval = 60

              
                
                66
                +

              
                
                67
                +[module/keyboard]

              
                
                68
                +type = internal/xkeyboard

              
                
                69
                +label-NAME-maxlen = 10

              
                
                70
                +format-prefix = ""

              
                
                71
                +label-layout =  %layout%

              
                
                72
                +blacklist-0 = num lock

              
                
                73
                +blacklist-1 = scroll lock

              
                
                74
                +blacklist-2= caps lock

              
                
                75
                +

              
                
                76
                +[module/date]

              
                
                77
                +type = internal/date

              
                
                78
                +interval = 600

              
                
                79
                +date = %b %e

              
                
                80
                +label =  %date%

              
                
                81
                +

              
                
                82
                +[module/time]

              
                
                83
                +type = internal/date

              
                
                84
                +interval = 0

              
                
                85
                +time = %H:%M

              
                
                86
                +label =  %time%

              
                
                87
                +

              
                
                88
                +[module/t]

              
                
                89
                +type = custom/text

              
                
                90
                +content = " " 

              
A config/berry/polybar/wifi-signal.sh
···
                
                1
                +#!/bin/sh

              
                
                2
                +cat /proc/net/wireless | grep "wlp3s0" | awk '{print $4}' | grep -o '[0-9]*'

              
A config/berry/screen.png

Not showing binary file.

A config/berry/sxhkdrc
···
                
                1
                +# ------ Apps ------- #

              
                
                2
                +super + F2

              
                
                3
                +	firefox

              
                
                4
                +super + Return

              
                
                5
                +	kitty

              
                
                6
                +super + shift + Escape

              
                
                7
                +	xkill

              
                
                8
                +super + alt + t

              
                
                9
                +	kitty nvim .todo

              
                
                10
                +

              
                
                11
                +# ------ Volum ------ #

              
                
                12
                +super + equal 

              
                
                13
                +	pactl set-sink-volume alsa_output.pci-0000_00_1b.0.analog-stereo +5%

              
                
                14
                +super + minus

              
                
                15
                +	pactl set-sink-volume alsa_output.pci-0000_00_1b.0.analog-stereo -5%

              
                
                16
                +super + shift + minus

              
                
                17
                +	pactl set-sink-mute alsa_output.pci-0000_00_1b.0.analog-stereo toggle

              
                
                18
                +

              
                
                19
                +# ------ Menus ------ #

              
                
                20
                +super + shift + Return

              
                
                21
                +	rofi -show drun

              
                
                22
                +super + Escape

              
                
                23
                +	~/.script/dmenu/dmenu-power.sh

              
                
                24
                +super + control + i

              
                
                25
                +	passmenu -h 24 -p Passwoeds

              
                
                26
                +super + control + u

              
                
                27
                +	~/.script/dmenu/dmenu-config-edit.sh

              
                
                28
                +super + control + o

              
                
                29
                +	~/.script/dmenu/dmenu-sysmon.sh

              
                
                30
                +

              
                
                31
                +# ------ Berry ------ #

              
                
                32
                +super + {h, j, k, l}

              
                
                33
                +    berryc window_move {-50 0, 0 50, 0 -50, 50 0}

              
                
                34
                +super + shift +  {h, j, k, l}

              
                
                35
                +    berryc window_resize {-50 0, 0 50, 0 -50, 50 0}

              
                
                36
                +super + {1-9}

              
                
                37
                +    berryc switch_workspace {0-9}

              
                
                38
                +super + shift + {1-9}

              
                
                39
                +    berryc send_to_workspace {0-9}

              
                
                40
                +super + m

              
                
                41
                +    berryc window_monocle

              
                
                42
                +super +  p

              
                
                43
                +    berryc snap_right

              
                
                44
                +super + o 

              
                
                45
                +    berryc snap_left

              
                
                46
                +super + n

              
                
                47
                +    berryc toggle_decorations

              
                
                48
                +super + Tab

              
                
                49
                +    berryc cycle_focus

              
                
                50
                +super + q

              
                
                51
                +    berryc window_close

              
                
                52
                +super + c

              
                
                53
                +    berryc window_center

              
                
                54
                +~button1

              
                
                55
                +    berryc pointer_focus

              
M config/fish/config.fish
···
                4
                4
                 

              
                5
                5
                 ### VARIABLES ###

              
                6
                6
                 export EDITOR="nvim"

              
                7
                
                -export VISUAL="emacsclient -c -a emacs"

              
                
                7
                +export VISUAL="nvim"

              
                8
                8
                 export TERM="kitty"

              
                9
                9
                 

              
                10
                10
                 ### ALIASES ###

              
A config/i3/README.md
···
                
                1
                +# [i3](https://i3wm.org)

              
                
                2
                +

              
                
                3
                +![Seceenshot](screen.png)

              
                
                4
                +

              
                
                5
                +----

              
                
                6
                +

              
                
                7
                +**Mod key:** `super(win)`

              
                
                8
                +**Font:** `monospace 10`, `JetBrains Mono 10`

              
                
                9
                +

              
                
                10
                +### Auttostart

              
                
                11
                +--------------

              
                
                12
                +~~~bash

              
                
                13
                +picom -b

              
                
                14
                +nmcli radio wifi on; nmcli device wifi connect <wifi_name> password <wifi_pass> name net

              
                
                15
                +redshift-gtk

              
                
                16
                +nitrogen --restore

              
                
                17
                +setxkbmap "us,ru,ua" ",winkeys" "grp:alt_shift_toggle" -option "ctrl:nocaps"

              
                
                18
                +org.telegram.desktop

              
                
                19
                +~~~

              
                
                20
                +

              
                
                21
                +### Variables

              
                
                22
                +-------------

              
                
                23
                +~~~i3

              
                
                24
                +set $terminal kitty

              
                
                25
                +set $browser qutebwoser

              
                
                26
                +~~~

              
                
                27
                +

              
                
                28
                +

              
                
                29
                +### Keybindings

              
                
                30
                +---------------

              
                
                31
                +

              
                
                32
                +| Shourtcut                         | Command                                                                                                  |

              
                
                33
                +| -----------------------           | ------                                                                                                   |

              
                
                34
                +| `mod` + q                         | Kill focus window                                                                                        |

              
                
                35
                +| `mod` + `ctrl` + r                | Restart i3                                                                                               |

              
                
                36
                +| `mod` + a                         | Focus thr oarent container                                                                               |

              
                
                37
                +| `mod` + `shift` + space           | Enable/disable floating mode                                                                             |

              
                
                38
                +| `mod` + F11                       | Enable/disable fullscreen mode                                                                           |

              
                
                39
                +| `mod` + h/v                       | Horisontal/Vertical split                                                                                |

              
                
                40
                +| `mod` + s/w/e                     | Container mode Stacked/Tabbed/Split                                                                      |

              
                
                41
                +| `mod` + `shift` + ~               | Move focus window to scratchpad                                                                          |

              
                
                42
                +| `mod` + ~                         | Show window from scratchpad                                                                              |

              
                
                43
                +| `mod` + `shift` + enter           | Run program launcher (Rofi)                                                                              |

              
                
                44
                +| `mod` + esc                       | Power [menu](https://github.com/Smirnov-O/dotfiles/blob/master/scripts/dmenu/dmenu-power.sh)             |

              
                
                45
                +| `mod` + `ctrl` + u                | Config edit [menu](https://github.com/Smirnov-O/dotfiles/blob/master/scripts/dmenu/dmenu-config-edit.sh) |

              
                
                46
                +| `mod` + `ctrl` + i                | Passmenu(Dmenu interface for [pass](https://passwordstore.org))                                          |

              
                
                47
                +| `mod` + tab                       | Window switcher(Rofi)                                                                                    |

              
                
                48
                +| `mod` + enter                     | Run program from `$terminal` variable(default: kitty)                                                    |

              
                
                49
                +| `mod` + F2                        | Run program from `$browser` variable(default: qutebwoser)                                                |

              
                
                50
                +| Print Screen                      | Screenshot                                                                                               |

              
                
                51
                +| `mod` + plus                      | Add 5% volume                                                                                            |

              
                
                52
                +| `mod` + minus                     | Minus 5% volume                                                                                          |

              
                
                53
                +| `mod` + `shift` + minus           | Mute volume                                                                                              |

              
                
                54
                +| `mod` + Arrow/(h/j/k/l)           | Change focus window                                                                                      |

              
                
                55
                +| `mod` + `shift` + Arrow/(h/j/k/l) | Move focus window                                                                                        |

              
                
                56
                +| `mod` + [1-9]                     | Change workspace                                                                                         |

              
                
                57
                +| `mod` + `shift` + [1-9]           | Send focus window to workspace                                                                           |

              
                
                58
                +| `mod` + `alt` + t                 | Open ~/.todo file                                                                                        |

              
                
                59
                +| `mod` + r                         | Enable/disable `resize` mode                                                                             |

              
                
                60
                +| `mod` + g                         | Enable/disable `gups`                                                                                    |

              
                
                61
                +

              
                
                62
                +### Rules

              
                
                63
                +---------

              
                
                64
                +Open `kitty` on `1` workspace

              
                
                65
                +

              
                
                66
                +Open `chromium, `firefox`, `qutebwoser` on `2` workspace

              
                
                67
                +

              
                
                68
                +Open `sublime`, `code`, `emacs` on `3` workspace

              
                
                69
                +

              
                
                70
                +Open `thunar`, `pcmanfm` on `4` workspace

              
                
                71
                +

              
                
                72
                +Open `discord`, `telegram` on `6` workspace

              
                
                73
                +

              
                
                74
                +Open `keepassxc` on `7` workspace

              
                
                75
                +

              
                
                76
                +Open `mousepad`, `lxappeatance`, `qt5ct`, `notrogen` in floating mode

              
                
                77
                +

              
                
                78
                +### Modes

              
                
                79
                +---------

              
                
                80
                +

              
                
                81
                +**Resize:** chande window size

              
                
                82
                +

              
                
                83
                +**Gups:** edit gups size

              
                
                84
                +

              
                
                85
                +| Keys for `resize` mode  | What is he doing           |

              
                
                86
                +| --------------------    | -------------------------- |

              
                
                87
                +| Arrow / (h/j/k/l)       | Change window size on 10px |

              
                
                88
                +| enter / esc / `mod` + r | Exit from resize mode      |

              
                
                89
                +

              
                
                90
                +| Keys for `gups` mode    | What is he doing           |

              
                
                91
                +| --------------------    | -------------------------- |

              
                
                92
                +| plus / minus            | Plus/Minus 2px gups        |

              
                
                93
                +| 0                       | Set `0` gups               |

              
                
                94
                +| `shift` + plus/minus    | Plus/Minus 4px gups        |

              
                
                95
                +| enter / esc / `mod` + g | Exit from resize mode      |

              
A config/i3/bar.sh
···
                
                1
                +#!/bin/bash

              
                
                2
                +killall -q polybar

              
                
                3
                +while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done

              
                
                4
                +polybar i3bar &

              
M config/i3/config
···
                15
                15
                 # Borders

              
                16
                16
                 hide_edge_borders smart

              
                17
                17
                 

              
                
                18
                +############ Variables ###########

              
                
                19
                +set $terminal kitty

              
                
                20
                +set $browser qutebrowser

              
                
                21
                +

              
                18
                22
                 ############ Autostart ############

              
                19
                23
                 exec --no-startup-id exec picom -b

              
                20
                
                -exec --no-startup-id exec nmcli radio wifi on; nmcli device wifi connect Pechenka password 24032006 name net

              
                
                24
                +exec --no-startup-id exec nmcli radio wifi on; nmcli device wifi connect <wifi_name> password <wifi_password> name net

              
                21
                25
                 exec --no-startup-id exec redshift-gtk 

              
                22
                26
                 exec --no-startup-id exec nitrogen --restore

              
                23
                27
                 exec --no-startup-id exec setxkbmap "us,ru,ua" ",winkeys" "grp:alt_shift_toggle" -option "ctrl:nocaps"

              
                24
                28
                 exec --no-startup-id exec org.telegram.desktop

              
                
                29
                +exec --no-startup-id exec conky

              
                25
                30
                 #exec --no-startup-id exec discord

              
                26
                
                -exec_always --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1

              
                27
                
                -exec_always --no-startup-id $HOME/.config/polybar/launch.sh

              
                
                31
                +exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1

              
                
                32
                +exec_always --no-startup-id $HOME/.config/i3/bar.sh

              
                28
                33
                 

              
                29
                34
                 ############ Key bindings #########

              
                
                35
                +

              
                
                36
                +### I3

              
                30
                37
                 # Kill focus window

              
                31
                38
                 bindsym $mod+q kill

              
                32
                39
                 # Restart i3wm

              
                33
                
                -bindsym $mod+Shift+r restart

              
                34
                
                -# Terminal

              
                35
                
                -bindsym $mod+Return exec kitty

              
                
                40
                +bindsym $mod+Control+r restart

              
                36
                41
                 # Focus the parent container

              
                37
                42
                 bindsym $mod+a focus parent

              
                38
                43
                 # Floating window

              
                39
                44
                 bindsym $mod+Shift+space floating toggle

              
                40
                45
                 # Fullscreen mode

              
                41
                46
                 bindsym $mod+F11 fullscreen toggle

              
                42
                
                -

              
                43
                
                -# Load program

              
                44
                
                -bindsym $mod+F2 exec qutebrowser

              
                45
                
                -

              
                46
                
                -

              
                
                47
                +# Splits

              
                
                48
                +bindsym $mod+b split h

              
                
                49
                +bindsym $mod+v split v

              
                
                50
                +# Change container layout(stacked, tabbed, toggle split)

              
                
                51
                +bindsym $mod+s layout stacking

              
                
                52
                +bindsym $mod+w layout tabbed

              
                
                53
                +bindsym $mod+e layout toggle split

              
                
                54
                +# Scratchpad

              
                
                55
                +bindsym $mod+Shift+grave move scratchpad

              
                
                56
                +bindsym $mod+grave scratchpad show, floating disable

              
                47
                57
                 

              
                48
                
                -# Program/Exit/Window switch/Clipboard

              
                49
                
                -bindsym $mod+r exec "i3-dmenu-desktop --dmenu='dmenu -h 24 -p Run'"

              
                50
                
                -bindsym $mod+space exec "rofi -show drun -show cobi -show-icons"

              
                51
                
                -bindsym $mod+Shift+Return exec "dmenu_run -h 24 -p Run"

              
                52
                58
                 

              
                
                59
                +### Launchers

              
                
                60
                +bindsym $mod+p exec "dmenu_run -h 24 -p Run"

              
                
                61
                +bindsym $mod+Shift+Return exec "rofi -show drun -drun-display-format '{name}'"

              
                53
                62
                 bindsym $mod+Escape exec "~/.script/dmenu/dmenu-power.sh"

              
                54
                63
                 bindsym $mod+Control+u exec ~/.script/dmenu/dmenu-config-edit.sh

              
                55
                64
                 bindsym $mod+Control+i exec passmenu -h 24 -p Passwords

              
                56
                
                -

              
                57
                
                -bindsym $mod+Tab exec "rofi -show window -show-icons"

              
                58
                65
                 bindsym $alt+Tab exec "rofi -show window -show-icons"

              
                59
                66
                 

              
                60
                
                -bindsym $mod+c exec "CM_LAUNCHER=rofi clipmenu"

              
                61
                67
                 

              
                62
                
                -# Sceenshot

              
                
                68
                +### Applications

              
                
                69
                +bindsym $mod+Return exec $terminal

              
                
                70
                +bindsym $mod+F2 exec $browser 

              
                
                71
                +bindsym --release $mod+Shift+Escape exec xkill

              
                
                72
                +bindsym $mod+$alt+t exec $terminal -e "nvim ~/.todo"

              
                
                73
                +

              
                
                74
                +

              
                
                75
                +### Sceenshot

              
                63
                76
                 bindsym --release Print exec "scrot -s /home/${USER}/$(date +%Y-%m-%d-%H-%M-%S).png"

              
                64
                77
                 bindsym --release Shift+Print exec "scrot /home/${USER}/$(date +%Y-%m-%d-%H-%M-%S).png"

              
                65
                78
                 

              
                66
                
                -# Volume

              
                
                79
                +

              
                
                80
                +### Volume

              
                67
                81
                 bindsym $mod+plus exec "pactl set-sink-volume alsa_output.pci-0000_00_1b.0.analog-stereo +5%"

              
                68
                82
                 bindsym $mod+minus exec "pactl set-sink-volume alsa_output.pci-0000_00_1b.0.analog-stereo  -5%"

              
                69
                83
                 bindsym $mod+Shift+minus exec "pactl set-sink-mute alsa_output.pci-0000_00_1b.0.analog-stereo toggle"

              
                70
                84
                 

              
                71
                
                -# Splits

              
                72
                
                -bindsym $mod+b split h

              
                73
                
                -bindsym $mod+v split v

              
                74
                
                -

              
                75
                
                -# Change container layout(stacked, tabbed, toggle split)

              
                76
                
                -bindsym $mod+s layout stacking

              
                77
                
                -bindsym $mod+w layout tabbed

              
                78
                
                -bindsym $mod+e layout toggle split

              
                79
                
                -

              
                80
                
                -# Scratchpad

              
                81
                
                -bindsym $mod+Shift+grave move scratchpad

              
                82
                
                -bindsym $mod+grave scratchpad show, floating disable

              
                83
                
                -

              
                84
                85
                 ######### Window preferens ########

              
                85
                
                -assign [class="Kitty"] $ws1

              
                
                86
                +#assign [class="Kitty"] $ws1

              
                86
                87
                 #assign [class="(?i)chromium|firefox|qutebrowser"] $ws2

              
                87
                88
                 #assign [class="(?i)subl|code|emacs"] $ws3

              
                88
                89
                 #assign [class="(?i)thunar"] $ws4

              ···
                92
                93
                 #for_window [title="Ranger_FM"] move to workspace $ws4

              
                93
                94
                 #for_window [class="Spotify"] move to workspace $ws9

              
                94
                95
                 for_window [class="(?i)mousepad"] floating enable

              
                95
                
                -for_window [title="Terminal-floating"] floating enable

              
                96
                96
                 for_window [class="(?i)lxappearance|qt5ct"] floating enable

              
                97
                97
                 for_window [class="(?i)nitrogen"] floating enable

              
                98
                
                -#for_window [class=""]

              
                99
                
                -for_window [urgent="lastet"] focus

              
                
                98
                +for_window [class="(?i)virtualbox"] floating enable

              
                100
                99
                 #focus_on_window_activation focus

              
                101
                100
                 

              
                102
                101
                 ############## Gaps ###############

              ···
                154
                153
                 bindsym $mod+Shift+8 move container to workspace $ws8

              
                155
                154
                 bindsym $mod+Shift+9 move container to workspace $ws9

              
                156
                155
                 

              
                157
                
                -########### Resize mode ###########

              
                158
                
                -bindsym $mod+Control+r mode "resize"

              
                159
                
                -bindsym $mod+Control+g mode "gaps"

              
                160
                
                -

              
                
                156
                +############## Modes ##############

              
                
                157
                +bindsym $mod+r mode "resize"

              
                
                158
                +bindsym $mod+g mode "gaps"

              
                161
                159
                 mode "resize" {

              
                162
                
                -    bindsym j resize shrink width 10 px or 10 ppt

              
                163
                
                -    bindsym k resize grow height 10 px or 10 ppt

              
                164
                
                -    bindsym l resize shrink height 10 px or 10 ppt

              
                165
                
                -    bindsym semicolon resize grow width 10 px or 10 ppt

              
                
                160
                +    bindsym h resize shrink width 10 px or 10 ppt

              
                
                161
                +    bindsym j resize grow height 10 px or 10 ppt

              
                
                162
                +    bindsym k resize shrink height 10 px or 10 ppt

              
                
                163
                +    bindsym l resize grow width 10 px or 10 ppt

              
                166
                164
                 

              
                167
                165
                     bindsym Left resize shrink width 10 px or 10 ppt

              
                168
                166
                     bindsym Down resize grow height 10 px or 10 ppt

              ···
                171
                169
                 

              
                172
                170
                     bindsym Return mode "default"

              
                173
                171
                     bindsym Escape mode "default"

              
                
                172
                +    bindsym $mod+r mode "default"

              
                174
                173
                 }

              
                175
                174
                 mode "gaps" {

              
                176
                175
                         bindsym plus  gaps inner current plus 2

              ···
                183
                182
                 

              
                184
                183
                         bindsym Return mode "default"

              
                185
                184
                         bindsym Escape mode "default"

              
                
                185
                +        bindsym $mod+g mode "default"

              
                186
                186
                 }

              
                187
                187
                 

              
                188
                188
                 ############## Colors #############

              
                189
                
                -# Class                 Border   Backgr   Text     Indicator Child_border

              
                190
                
                -client.focused          #268bd2  #268bd2  #ffffff  #268bd2   #268bd2

              
                191
                
                -client.focused_inactive #000000  #000000  #ffffff  #000000   #000000

              
                192
                
                -client.unfocused        #000000  #000000  #888888  #000000   #000000

              
                193
                
                -client.urgent           #000000  #000000  #ffffff  #000000   #000000

              
                
                189
                +#        Class          Border   Backgr   Text     Indicator Child_border

              
                
                190
                +client.focused          #268bd2  #268bd2  #dfdfdf  #268bd2   #268bd2

              
                
                191
                +client.focused_inactive #002b36  #002b36  #dfdfdf  #002b36   #002b36

              
                
                192
                +client.unfocused        #002b36  #002b36  #586e75  #002b36   #002b36

              
                
                193
                +client.urgent           #002b36  #002b36  #ffffff  #002b36   #002b36

              
                194
                194
                 client.placeholder      #000000  #000000  #ffffff  #000000   #000000

              
                195
                195
                 client.background       #ffffff

              
A config/i3/screen.png

Not showing binary file.

M config/kitty/kitty.conf
···
                2
                2
                 #kitty_mod ctrl+shift

              
                3
                3
                 clear_all_shortcuts no

              
                4
                4
                 

              
                5
                
                -

              
                6
                
                -

              
                7
                
                -#: Font

              
                
                5
                +# Font

              
                8
                6
                 font_family      Jetbrains Mono

              
                9
                7
                 bold_font        auto

              
                10
                8
                 italic_font      auto

              
                11
                9
                 bold_italic_font auto

              
                12
                
                -

              
                13
                10
                 font_size 12.0

              
                14
                
                -

              
                15
                11
                 adjust_line_height  0

              
                16
                12
                 adjust_column_width 0

              
                17
                
                -

              
                18
                13
                 disable_ligatures never

              
                19
                14
                 font_features none

              
                20
                15
                 box_drawing_scale 0.001, 1, 1.5, 2

              
                21
                16
                 

              
                22
                
                -

              
                23
                
                -

              
                24
                
                -#: Cursor

              
                
                17
                +# Cursor

              
                25
                18
                 cursor #dfdfdf

              
                26
                19
                 cursor_text_color #7d7d7d

              
                27
                
                -

              
                28
                
                -#cursor_shape block

              
                29
                20
                 cursor_shape beam

              
                30
                
                -

              
                31
                21
                 cursor_beam_thickness 1.5

              
                32
                22
                 cursor_underline_thickness 2.0

              
                33
                
                -

              
                34
                23
                 cursor_blink_interval 0

              
                35
                24
                 cursor_stop_blinking_after 15.0

              
                36
                25
                 

              
                37
                
                -

              
                38
                
                -

              
                39
                
                -#: Bell

              
                
                26
                +# Bell

              
                40
                27
                 enable_audio_bell no

              
                41
                28
                 visual_bell_duration 0.0

              
                42
                29
                 window_alert_on_bell no

              
                43
                30
                 command_on_bell none

              
                44
                31
                 bell_on_tab no

              
                45
                32
                 

              
                46
                
                -

              
                47
                
                -

              
                48
                
                -#: Scrollback (History)

              
                
                33
                +# Scrollback (History)

              
                49
                34
                 scrollback_lines 500

              
                50
                35
                 scrollback_pager less --chop-long-lines --RAW-CONTROL-CHARS +INPUT_LINE_NUMBER

              
                51
                36
                 scrollback_pager_history_size 0

              
                52
                37
                 wheel_scroll_multiplier 5.0

              
                53
                38
                 touch_scroll_multiplier 1.0

              
                54
                39
                 

              
                55
                
                -

              
                56
                
                -

              
                57
                
                -#: Mouse

              
                
                40
                +# Mouse

              
                58
                41
                 mouse_hide_wait 2.5

              
                59
                
                -

              
                60
                42
                 url_color #4ecdc4

              
                61
                43
                 url_style curly

              
                62
                44
                 

              ···
                72
                54
                 focus_follows_mouse yes

              
                73
                55
                 pointer_shape_when_grabbed arrow

              
                74
                56
                 

              
                75
                
                -

              
                76
                
                -

              
                77
                
                -#: Perfomance

              
                
                57
                +# Perfomance

              
                78
                58
                 repaint_delay 10

              
                79
                59
                 input_delay 3

              
                80
                60
                 sync_to_monitor yes

              
                81
                61
                 command_on_bell none

              
                82
                62
                 

              
                83
                
                -

              
                84
                
                -

              
                85
                
                -#: Window

              
                
                63
                +# Window

              
                86
                64
                 remember_window_size  yes

              
                87
                65
                 initial_window_width  640

              
                88
                66
                 initial_window_height 480

              ···
                106
                84
                 resize_draw_strategy static

              
                107
                85
                 resize_in_steps no

              
                108
                86
                 

              
                109
                
                -

              
                110
                
                -

              
                111
                
                -#: Tabs

              
                
                87
                +# Tabs

              
                112
                88
                 tab_bar_edge bottom

              
                113
                89
                 tab_bar_margin_width 0.0

              
                114
                90
                 tab_bar_style powerline

              ···
                117
                93
                 tab_fade 0.25 0.5 0.75 1

              
                118
                94
                 tab_separator "┇"

              
                119
                95
                 tab_title_template "{title}"

              
                
                96
                +tab_bar_background none

              
                120
                97
                 active_tab_title_template none

              
                121
                98
                 

              
                122
                99
                 active_tab_foreground   #dfdfdf

              ···
                126
                103
                 inactive_tab_background #292f36

              
                127
                104
                 inactive_tab_font_style normal

              
                128
                105
                 

              
                129
                
                -tab_bar_background none

              
                130
                
                -

              
                131
                
                -

              
                132
                
                -

              
                133
                
                -#: Theming

              
                
                106
                +# Theming

              
                134
                107
                 foreground #dfdfdf

              
                135
                
                -background_opacity 0.85

              
                
                108
                +#background_opacity 0.85

              
                
                109
                +background_opacity 1

              
                136
                110
                 background_image none

              
                137
                111
                 background_image_layout tiled

              
                138
                112
                 background_image_linear no

              ···
                142
                116
                 selection_foreground #edebd7

              
                143
                117
                 selection_background #073642

              
                144
                118
                 

              
                145
                
                -

              
                146
                
                -

              
                147
                
                -#: Keyboard Shortcuts

              
                148
                
                -#: #: Clipboard

              
                
                119
                +# Keyboard Shortcuts

              
                149
                120
                 map ctrl+shift+c copy_to_clipboard

              
                150
                121
                 map ctrl+shift+v paste_from_clipboard

              
                151
                122
                 map shift+insert paste_from_selection

              
                152
                123
                 map kitty_mod+o  pass_selection_to_program

              
                153
                124
                 

              
                154
                
                -#: #: Scroll

              
                155
                125
                 map shift+up            scroll_line_up

              
                156
                126
                 map shift+down          scroll_line_down

              
                157
                127
                 map shift+page_up       scroll_page_up

              ···
                159
                129
                 map shift+home          scroll_home

              
                160
                130
                 map shift+end           scroll_end

              
                161
                131
                 map ctrl+shift+h        show_scrollback

              
                162
                
                -

              
                163
                
                -#: #: Window

              
                164
                
                -map ctrl+F9     new_os_window

              
                165
                
                -map alt+]       next_window

              
                166
                
                -map alt+[       previous_window

              
                167
                
                -map alt+f       move_window_forward

              
                168
                
                -map alt+b       move_window_backward

              
                169
                
                -map alt+`       move_window_to_top

              
                170
                132
                 map alt+r       start_resizing_window

              
                171
                133
                 

              
                172
                
                -#: #: Tab

              
                173
                134
                 map ctrl+shift+l next_tab

              
                174
                135
                 map ctrl+shift+h previous_tab

              
                175
                136
                 map ctrl+shift+t new_tab

              ···
                186
                147
                 map alt+9 ninth_window

              
                187
                148
                 map alt+0 tenth_window

              
                188
                149
                 

              
                189
                
                -#: #: Font Size

              
                
                150
                +# Font Size

              
                190
                151
                 map alt+equal           change_font_size all +2.0

              
                191
                152
                 map alt+minus           change_font_size all -2.0

              
                192
                153
                 map alt+ctrl+backspace  change_font_size all 0

              
                193
                154
                 

              
                194
                
                -#:#: Other

              
                
                155
                +# Other

              
                195
                156
                 map f11              toggle_fullscreen

              
                196
                157
                 map ctrl+shift+f10   toggle_maximized

              
                197
                158
                 map ctrl+shift+u     kitten unicode_input

              
                198
                159
                 map ctrl+shift+f2    edit_config_file

              
                199
                
                -#map kitty_mod+escape kitty_shell window

              
                200
                160
                 

              
                201
                
                -map kitty_mod+delete clear_terminal reset active

              
                202
                
                -

              
                203
                
                -selection_background #073642

              
                
                161
                +background #002B36

              
                
                162
                +foreground #d2dae2

              
                
                163
                +selection_background #002731

              
                204
                164
                 selection_foreground #edebd7

              
                205
                
                -foreground   #d2dae2

              
                206
                
                -#background   #1e272e

              
                207
                
                -background   #002B36

              
                208
                
                -

              
                209
                
                -cursorColor  #d2dae2

              
                210
                
                -

              
                211
                
                -color0       #1e272e

              
                212
                
                -color8       #485460

              
                213
                
                -

              
                214
                
                -color1       #ff3f34

              
                215
                
                -color9       #ff5e57

              
                216
                
                -

              
                217
                
                -color2       #05c46b

              
                218
                
                -color10      #0be881

              
                219
                
                -

              
                220
                
                -color3       #ffa801

              
                221
                
                -color11      #ffc048

              
                222
                
                -

              
                223
                
                -color4       #3c40c6

              
                224
                
                -color12      #575fcf

              
                225
                
                -

              
                226
                
                -color5       #f53b57

              
                227
                
                -color13      #ef5777

              
                228
                
                -

              
                229
                
                -color6       #0fbcf9

              
                230
                
                -color14      #4bcffa

              
                231
                
                -

              
                232
                
                -color7       #808e9b

              
                233
                
                -color15      #d2dae2

              
                
                165
                +color0 #002731

              
                
                166
                +color8 #001e26

              
                
                167
                +color1 #d01b24

              
                
                168
                +color9 #bd3612

              
                
                169
                +color2 #728905

              
                
                170
                +color10 #465a61

              
                
                171
                +color3 #a57705

              
                
                172
                +color11 #52676f

              
                
                173
                +color4 #2075c7

              
                
                174
                +color12 #708183

              
                
                175
                +color5 #c61b6e

              
                
                176
                +color13 #5856b9

              
                
                177
                +color6 #259185

              
                
                178
                +color14 #81908f

              
                
                179
                +color7 #e9e2cb

              
                
                180
                +color15 #fcf4dc

              
M config/nvim/init.vim
···
                17
                17
                     " Language support

              
                18
                18
                     Plug 'pangloss/vim-javascript', { 'for': 'javascript' }

              
                19
                19
                     Plug 'PotatoesMaster/i3-vim-syntax'

              
                
                20
                +    Plug 'kovetskiy/sxhkd-vim'

              
                20
                21
                     Plug 'vim-python/python-syntax', { 'for': 'python' }

              
                21
                22
                     Plug 'mattn/emmet-vim', { 'on': 'Emmet' }

              
                22
                23
                     Plug 'cakebaker/scss-syntax.vim', { 'for': 'scss' }

              ···
                84
                85
                 \              [ 'percent' ],

              
                85
                86
                 \              [ 'filename', 'fileencoding', 'filetype' ] ]

              
                86
                87
                 \ }, }

              
                
                88
                +set noshowmode

              
                87
                89
                 """""""""""""""""""""""""""

              
                88
                90
                 

              
                89
                91
                 """"""""" Nerdtree """"""""

              ···
                115
                117
                 " ============

              
                116
                118
                 " == Maping ==

              
                117
                119
                 " ============

              
                
                120
                +imap ii <Esc>

              
                
                121
                +

              
                118
                122
                 let mapleader=","

              
                119
                123
                 

              
                120
                124
                 " Change window

              
M config/polybar/config
···
                21
                21
                 

              
                22
                22
                 fixed-center = true

              
                23
                23
                 wm-restack = i3

              
                24
                
                -;override-redirect = true

              
                25
                24
                 

              
                26
                25
                 background = ${colors.background}

              
                27
                26
                 foreground = ${colors.foreground}

              ···
                29
                28
                 line-size = 3 

              
                30
                29
                 line-color = #000000

              
                31
                30
                 

              
                32
                
                -#padding-left = 2

              
                33
                
                -#padding-right = 2

              
                34
                
                -

              
                35
                
                -#radius = 6.0

              
                36
                
                -#border-left-size = 0.2%

              
                37
                
                -#border-top-size = 0.2%

              
                38
                
                -#border-right-size = 0.2%

              
                39
                
                -

              
                40
                31
                 module-margin-left = 1

              
                41
                32
                 module-margin-right = 1

              
                42
                33
                 

              ···
                44
                35
                 font-1 = FontAwesome5Free:style=Solid:size=7.5;2.5

              
                45
                36
                 font-2 = Weather Icons:size=7;2

              
                46
                37
                 

              
                47
                
                -modules-left =  i3 weather

              
                48
                
                -modules-right = keyboard pulseaudio backlight wifi-signal time

              
                
                38
                +modules-left =  i3 title 

              
                
                39
                +modules-right = keyboard pulseaudio backlight wifi-signal date time

              
                49
                40
                 tray-position = right

              
                50
                41
                 

              
                51
                42
                 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

              
                52
                
                -[settings]

              
                53
                
                -screenchange-reload = true

              
                54
                
                -

              
                55
                43
                 [module/i3]

              
                56
                44
                 type = internal/i3

              
                57
                45
                 format = <label-state><label-mode>

              ···
                120
                108
                 interval = 3.0

              
                121
                109
                 

              
                122
                110
                 

              
                123
                
                -[module/filesystem]

              
                124
                
                -type = internal/fs

              
                125
                
                -interval = 25

              
                126
                
                -mount-0 = /

              
                127
                
                -mount-1 = /home

              
                128
                
                -label-mounted =  %mountpoint%: %percentage_used%%

              
                129
                
                -label-unmounted = %mountpoint% not mounted

              
                130
                
                -label-unmounted-foreground = ${colors.foreground}

              
                131
                
                -

              
                132
                
                -

              
                133
                111
                 [module/pulseaudio]

              
                134
                112
                 type = internal/pulseaudio

              
                135
                113
                 format-volume = <ramp-volume> <label-volume> 

              ···
                144
                122
                 ramp-volume-4 = 

              
                145
                123
                 

              
                146
                124
                 

              
                147
                
                -[module/cpu]

              
                148
                
                -type = internal/cpu

              
                149
                
                -interval = 2

              
                150
                
                -format-prefix = " "

              
                151
                
                -format-prefix-foreground = ${colors.foreground}

              
                152
                
                -label =  CPU %percentage%% 

              
                153
                
                -

              
                154
                
                -

              
                155
                
                -[module/memory]

              
                156
                
                -type = internal/memory

              
                157
                
                -interval = 2

              
                158
                
                -format-prefix = " "

              
                159
                
                -label =  MEM %percentage_used%%

              
                160
                
                -

              
                161
                
                -

              
                162
                125
                 [module/weather]

              
                163
                126
                 type = custom/script

              
                164
                127
                 exec = python3 ~/.config/polybar/scripts/weather.py

              ···
                166
                129
                 label-font = 1

              
                167
                130
                 

              
                168
                131
                 

              
                169
                
                -[module/spotify]

              
                170
                
                -type = custom/script

              
                171
                
                -interval = 1

              
                172
                
                -format = <label>

              
                173
                
                -exec = python ~/.config/polybar/scripts/spotify_status.py -f '{artist} - {song}'

              
                174
                
                -format-underline = ${colors.alert}

              
                175
                
                -

              
                176
                132
                 [module/updates-pacman]

              
                177
                133
                 type = custom/script

              
                178
                134
                 exec = ~/.config/polybar/scripts/updates-pacman-aur.sh

              ···
                190
                146
                 blacklist-2= caps lock

              
                191
                147
                 

              
                192
                148
                 

              
                193
                
                -[module/microphone]

              
                194
                
                -type = custom/script

              
                195
                
                -label = %output:0:40:...%

              
                196
                
                -exec = ~/.config/polybar/scripts/microphone.sh  

              
                197
                
                -click-left = ~/.config/polybar/scripts/microphone.sh --click

              
                198
                
                -interval = 0

              
                199
                
                -

              
                200
                
                -

              
                201
                149
                 [module/sp2]

              
                202
                150
                 type = custom/text

              
                203
                151
                 content = "┇"

              ···
                219
                167
                 

              
                220
                168
                 [module/title]

              
                221
                169
                 type = internal/xwindow

              
                222
                
                -label = %title:0:50:...%

              
                
                170
                +label = %title%

              
                
                171
                +format-padding = 4

              
                223
                172
                 label-empty =

              
                224
                173
                 label-maxlen = 50

              
                225
                
                -

              
                226
                
                -

              
                227
                
                -[module/clipmenu]

              
                228
                
                -type = custom/text

              
                229
                
                -content = ""

              
                230
                
                -click-left = "CM_LAUNCHER=rofi clipmenu"

              
                231
                
                -interval = 0

              
M config/rofi/config
···
                1
                
                -rofi.theme: flat-solarized # solarized

              
                2
                
                -rofi.font: hack 12

              
                
                1
                +rofi.theme: solarized

              
                
                2
                +rofi.font: Jetbarains Mono 12

              
                3
                3
                 rofi.auto-select: false

              
                4
                4
                 rofi.hide-scrollbar: true

              
M config/rofi/rofi-power-menu
···
                1
                1
                 #!/usr/bin/env bash

              
                
                2
                +

              
                2
                3
                 set -e

              
                3
                4
                 set -u

              
                4
                5
                 

              
                5
                6
                 all=(shutdown reboot suspend hibernate logout lockscreen)

              
                6
                
                -show=("${all[@]}")

              
                7
                7
                 

              
                
                8
                +show=("${all[@]}")

              
                8
                9
                 

              
                9
                10
                 declare -A texts

              
                10
                11
                 texts[lockscreen]="lock screen"

              ···
                34
                35
                 actions[shutdown]="systemctl poweroff"

              
                35
                36
                 

              
                36
                37
                 confirmations=(reboot shutdown logout)

              
                37
                
                -

              
                38
                38
                 dryrun=false

              
                39
                39
                 showsymbols=true

              
                40
                40
                 

              ···
                212
                212
                     done

              
                213
                213
                     echo "Invalid selection: $selection" >&2

              
                214
                214
                     exit 1

              
                215
                
                -fi

              
                
                215
                +fi
              
A config/rofi/solarized.rasi
···
                
                1
                +* {

              
                
                2
                +    selected-normal-foreground:  rgba ( 129, 147, 150, 100 % );

              
                
                3
                +    foreground:                  rgba ( 129, 147, 150, 100 % );

              
                
                4
                +    normal-foreground:           @foreground;

              
                
                5
                +    alternate-normal-background: rgba ( 0, 43, 55, 100 % );

              
                
                6
                +    red:                         rgba ( 220, 50, 47, 100 % );

              
                
                7
                +    selected-urgent-foreground:  rgba ( 218, 66, 129, 100 % );

              
                
                8
                +    blue:                        rgba ( 38, 139, 210, 100 % );

              
                
                9
                +    urgent-foreground:           rgba ( 218, 66, 129, 100 % );

              
                
                10
                +    alternate-urgent-background: rgba ( 0, 43, 55, 100 % );

              
                
                11
                +    active-foreground:           rgba ( 0, 142, 212, 100 % );

              
                
                12
                +    lightbg:                     rgba ( 238, 232, 213, 100 % );

              
                
                13
                +    selected-active-foreground:  rgba ( 0, 142, 212, 100 % );

              
                
                14
                +    alternate-active-background: rgba ( 0, 43, 55, 100 % );

              
                
                15
                +    background:                  rgba ( 0, 43, 55, 100 % );

              
                
                16
                +    bordercolor:                 rgba ( 0, 43, 55, 100 % );

              
                
                17
                +    alternate-normal-foreground: @foreground;

              
                
                18
                +    normal-background:           rgba ( 0, 43, 55, 100 % );

              
                
                19
                +    lightfg:                     rgba ( 88, 104, 117, 100 % );

              
                
                20
                +    selected-normal-background:  rgba ( 0, 54, 66, 100 % );

              
                
                21
                +    border-color:                @foreground;

              
                
                22
                +    spacing:                     2;

              
                
                23
                +    separatorcolor:              rgba ( 0, 54, 66, 100 % );

              
                
                24
                +    urgent-background:           rgba ( 0, 43, 55, 100 % );

              
                
                25
                +    selected-urgent-background:  rgba ( 0, 54, 66, 100 % );

              
                
                26
                +    alternate-urgent-foreground: @urgent-foreground;

              
                
                27
                +    background-color:            rgba ( 0, 0, 0, 0 % );

              
                
                28
                +    alternate-active-foreground: @active-foreground;

              
                
                29
                +    active-background:           rgba ( 0, 43, 55, 100 % );

              
                
                30
                +    selected-active-background:  rgba ( 0, 54, 66, 100 % );

              
                
                31
                +}

              
                
                32
                +#window {

              
                
                33
                +    background-color: @background;

              
                
                34
                +    border:           1;

              
                
                35
                +    padding:          5;

              
                
                36
                +}

              
                
                37
                +#mainbox {

              
                
                38
                +    border:  0;

              
                
                39
                +    padding: 0;

              
                
                40
                +}

              
                
                41
                +#message {

              
                
                42
                +    border:       1px dash 0px 0px ;

              
                
                43
                +    border-color: @separatorcolor;

              
                
                44
                +    padding:      1px ;

              
                
                45
                +}

              
                
                46
                +#textbox {

              
                
                47
                +    text-color: @foreground;

              
                
                48
                +}

              
                
                49
                +#listview {

              
                
                50
                +    fixed-height: 0;

              
                
                51
                +    border:       2px dash 0px 0px ;

              
                
                52
                +    border-color: @separatorcolor;

              
                
                53
                +    spacing:      2px ;

              
                
                54
                +    scrollbar:    true;

              
                
                55
                +    padding:      2px 0px 0px ;

              
                
                56
                +}

              
                
                57
                +#element {

              
                
                58
                +    border:  0;

              
                
                59
                +    padding: 1px ;

              
                
                60
                +}

              
                
                61
                +#element.normal.normal {

              
                
                62
                +    background-color: @normal-background;

              
                
                63
                +    text-color:       @normal-foreground;

              
                
                64
                +}

              
                
                65
                +#element.normal.urgent {

              
                
                66
                +    background-color: @urgent-background;

              
                
                67
                +    text-color:       @urgent-foreground;

              
                
                68
                +}

              
                
                69
                +#element.normal.active {

              
                
                70
                +    background-color: @active-background;

              
                
                71
                +    text-color:       @active-foreground;

              
                
                72
                +}

              
                
                73
                +#element.selected.normal {

              
                
                74
                +    background-color: @selected-normal-background;

              
                
                75
                +    text-color:       @selected-normal-foreground;

              
                
                76
                +}

              
                
                77
                +#element.selected.urgent {

              
                
                78
                +    background-color: @selected-urgent-background;

              
                
                79
                +    text-color:       @selected-urgent-foreground;

              
                
                80
                +}

              
                
                81
                +#element.selected.active {

              
                
                82
                +    background-color: @selected-active-background;

              
                
                83
                +    text-color:       @selected-active-foreground;

              
                
                84
                +}

              
                
                85
                +#element.alternate.normal {

              
                
                86
                +    background-color: @alternate-normal-background;

              
                
                87
                +    text-color:       @alternate-normal-foreground;

              
                
                88
                +}

              
                
                89
                +#element.alternate.urgent {

              
                
                90
                +    background-color: @alternate-urgent-background;

              
                
                91
                +    text-color:       @alternate-urgent-foreground;

              
                
                92
                +}

              
                
                93
                +#element.alternate.active {

              
                
                94
                +    background-color: @alternate-active-background;

              
                
                95
                +    text-color:       @alternate-active-foreground;

              
                
                96
                +}

              
                
                97
                +#scrollbar {

              
                
                98
                +    width:        4px ;

              
                
                99
                +    border:       0;

              
                
                100
                +    handle-width: 8px ;

              
                
                101
                +    padding:      0;

              
                
                102
                +}

              
                
                103
                +#mode-switcher {

              
                
                104
                +    border:       2px dash 0px 0px ;

              
                
                105
                +    border-color: @separatorcolor;

              
                
                106
                +}

              
                
                107
                +#button.selected {

              
                
                108
                +    background-color: @selected-normal-background;

              
                
                109
                +    text-color:       @selected-normal-foreground;

              
                
                110
                +}

              
                
                111
                +#inputbar {

              
                
                112
                +    spacing:    0;

              
                
                113
                +    text-color: @normal-foreground;

              
                
                114
                +    padding:    1px ;

              
                
                115
                +}

              
                
                116
                +#case-indicator {

              
                
                117
                +    spacing:    0;

              
                
                118
                +    text-color: @normal-foreground;

              
                
                119
                +}

              
                
                120
                +#entry {

              
                
                121
                +    spacing:    0;

              
                
                122
                +    text-color: @normal-foreground;

              
                
                123
                +}

              
                
                124
                +#prompt {

              
                
                125
                +    spacing:    0;

              
                
                126
                +    text-color: @normal-foreground;

              
                
                127
                +}

              
                
                128
                +#inputbar {

              
                
                129
                +    children:   [ prompt,textbox-prompt-colon,entry,case-indicator ];

              
                
                130
                +}

              
                
                131
                +#textbox-prompt-colon {

              
                
                132
                +    expand:     false;

              
                
                133
                +    str:        ":";

              
                
                134
                +    margin:     0px 0.3em 0em 0em ;

              
                
                135
                +    text-color: @normal-foreground;

              
                
                136
                +}
              
A conkyrc
···
                
                1
                +conky.config = {

              
                
                2
                +	background = false,

              
                
                3
                +	cpu_avg_samples = 2,

              
                
                4
                +	diskio_avg_samples = 10,

              
                
                5
                +	double_buffer = true,

              
                
                6
                +	if_up_strictness = 'address',

              
                
                7
                +	net_avg_samples = 2,

              
                
                8
                +	no_buffers = true,

              
                
                9
                +	temperature_unit = 'celsius',

              
                
                10
                +	text_buffer_size = 2048,

              
                
                11
                +	update_interval = 2,

              
                
                12
                +	imlib_cache_size = 0,

              
                
                13
                +	alignment = 'top_right',

              
                
                14
                +	gap_x = 40,

              
                
                15
                +	gap_y = 60,

              
                
                16
                +	minimum_height = 200,

              
                
                17
                +	minimum_width = 200,

              
                
                18
                +	maximum_width = 700,

              
                
                19
                +	border_inner_margin = 10,

              
                
                20
                +	border_outer_margin = 0,

              
                
                21
                +	border_width = 0,

              
                
                22
                +	default_bar_width = 280,

              
                
                23
                +	default_bar_height = 2,

              
                
                24
                +	default_gauge_height = 25,

              
                
                25
                +	default_gauge_width =40,

              
                
                26
                +	default_graph_height = 40,

              
                
                27
                +	default_graph_width = 153,

              
                
                28
                +	default_shade_color = '#000000',

              
                
                29
                +	default_outline_color = '#828282',

              
                
                30
                +	draw_borders = false,

              
                
                31
                +	draw_graph_borders = true,

              
                
                32
                +	draw_shades = false,

              
                
                33
                +	draw_outline = false,

              
                
                34
                +	stippled_borders = 0,

              
                
                35
                +	extra_newline = false,

              
                
                36
                +	format_human_readable = true,

              
                
                37
                +	font = 'Jatbrains Mono',

              
                
                38
                +	max_text_width = 0,

              
                
                39
                +	max_user_text = 16384,

              
                
                40
                +	override_utf8_locale = false,

              
                
                41
                +	short_units = true,

              
                
                42
                +	top_name_width = 21,

              
                
                43
                +	top_name_verbose = false,

              
                
                44
                +	uppercase = false,

              
                
                45
                +	use_spacer = 'none',

              
                
                46
                +	use_xft = true,

              
                
                47
                +	xftalpha = 1,

              
                
                48
                +    own_window = true,

              
                
                49
                +	own_window_argb_value = 0,

              
                
                50
                +	own_window_argb_visual = true,

              
                
                51
                +	own_window_class = 'Conky',

              
                
                52
                +	own_window_colour = '#000000',

              
                
                53
                +	own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',

              
                
                54
                +	own_window_transparent = yes,

              
                
                55
                +	own_window_title = 'Conky',

              
                
                56
                +	own_window_type = 'override',

              
                
                57
                +    background = no,

              
                
                58
                +	default_color = '#FFFFFF',

              
                
                59
                +	color1 = '#FFFFFF',

              
                
                60
                +    color2 = '#DFDFDF'

              
                
                61
                +};

              
                
                62
                +

              
                
                63
                +conky.text = [[

              
                
                64
                +${voffset 10}${font Jatbrains Mono:weight=Bold:size=14}${color1}Todo:              ${font Jatbrains Mono:weight=Medium:size=10}${color2}<mod+alt+t>${font}

              
                
                65
                +${exec cat -n "$HOME/.todo" | fmt -s -w 50}\

              
                
                66
                +${color1}

              
                
                67
                +${font}

              
                
                68
                +]]

              
A script/dmenu/dmenu-config-edit.sh
···
                
                1
                +#!/bin/sh

              
                
                2
                +

              
                
                3
                +declare options=("i3

              
                
                4
                +berry

              
                
                5
                +qtile

              
                
                6
                +polybar

              
                
                7
                +picom

              
                
                8
                +dunst

              
                
                9
                +qutebrowser

              
                
                10
                +quickmarks

              
                
                11
                +vim

              
                
                12
                +neovim

              
                
                13
                +kitty

              
                
                14
                +taskwarrior

              
                
                15
                +fish

              
                
                16
                +zsh")

              
                
                17
                +

              
                
                18
                +choice=$(echo -e "${options[@]}" | dmenu -h 24 -p 'Edit config file: ')

              
                
                19
                +

              
                
                20
                +case "$choice" in

              
                
                21
                +	i3) choice="$HOME/.config/i3/config" ;;

              
                
                22
                +    qtile) choice="$HOME/.config/qtile/config.py" ;;

              
                
                23
                +    berry)

              
                
                24
                +        declare opt=("berry\npolybar\nsxhkd")

              
                
                25
                +        why=$(echo -e "${opt}" | dmenu -h 24 -p 'Berry')

              
                
                26
                +        case "$why" in

              
                
                27
                +            "berry") choice="$HOME/.config/berry/autostart" ;;

              
                
                28
                +            "polybar") choice="$HOME/.config/berry/polybar/polybar" ;;

              
                
                29
                +            "sxhkd") choice="$HOME/.config/berry/sxhkdrc" ;;

              
                
                30
                +        esac

              
                
                31
                +    ;;

              
                
                32
                +	picom) choice="$HOME/.config/picom.conf" ;;

              
                
                33
                +	polybar) choice="$HOME/.config/polybar/config" ;;

              
                
                34
                +	quickmarks) choice="$HOME/.config/qutebrowser/quickmarks" ;;

              
                
                35
                +    qutebrowser) choice="$HOME/.config/qutebrowser/config.py" ;;

              
                
                36
                +	vim) choice="$HOME/.vimrc" ;;

              
                
                37
                +    nvim) choice="$HOME/.config/nvim/init.vim" ;;

              
                
                38
                +	dunst) choice="$HOME/.config/dunst/dunstrc" ;;

              
                
                39
                +	zsh) choice="$HOME/.zshrc" ;;

              
                
                40
                +    taskwarior) choice="$HOME/.taskrc" ;;

              
                
                41
                +    fish) choice="$HOME/.config/fish/config.fish" ;;

              
                
                42
                +    kitty) choice="$HOME/.config/kitty/kitty.conf" ;;

              
                
                43
                +	quit) echo "Program terminated." && exit 1 ;;

              
                
                44
                +	*) exit 1 ;;

              
                
                45
                +esac

              
                
                46
                +kitty -e nvim "$choice"

              
A script/dmenu/dmenu-power.sh
···
                
                1
                +#!/bin/sh

              
                
                2
                +

              
                
                3
                +declare options=("Shut Down

              
                
                4
                +Reboot

              
                
                5
                +Logout

              
                
                6
                +Suspend

              
                
                7
                +Lock Screen")

              
                
                8
                +

              
                
                9
                +choice=$(echo -e "${options[@]}" | dmenu -h 24 -p 'Power')

              
                
                10
                +

              
                
                11
                +case "$choice" in

              
                
                12
                +    "Shut Down")

              
                
                13
                +        declare opt=("Yes\nNo")

              
                
                14
                +        yesno=$(echo -e "${opt[@]}" | dmenu -h 24 -p 'Power')

              
                
                15
                +        case "$yesno" in

              
                
                16
                +            "Yes") exec systemctl poweroff ;;

              
                
                17
                +            "No") exec exit 0 ;;

              
                
                18
                +        esac

              
                
                19
                +    ;;

              
                
                20
                +    "Reboot")

              
                
                21
                +        declare opt=("Yes\nNo")

              
                
                22
                +        yesno=$(echo -e "${opt[@]}" | dmenu -h 24 -p 'Power')

              
                
                23
                +        case "$yesno" in

              
                
                24
                +            "Yes") exec systemctl reboot ;;

              
                
                25
                +            "No") exec exit 0 ;;

              
                
                26
                +        esac

              
                
                27
                +    ;;

              
                
                28
                +    "Logout")

              
                
                29
                +        declare opt=("Yes\nNo")

              
                
                30
                +        yesno=$(echo -e "${opt[@]}" | dmenu -h 24 -p 'Power')

              
                
                31
                +        case "$yesno" in

              
                
                32
                +            "Yes") exec loginctl terminate-session $XDG_SESSION_ID ;;

              
                
                33
                +            "No") exec exit 0 ;;

              
                
                34
                +        esac

              
                
                35
                +    ;;

              
                
                36
                +    "Lock Screen") 

              
                
                37
                +        declare opt=("Yes\nNo")

              
                
                38
                +        yesno=$(echo -e "${opt[@]}" | dmenu -h 24 -p 'Power')

              
                
                39
                +        case "$yesno" in

              
                
                40
                +            "Yes") exec loginctl lock-session $XDG_SESSION_ID ;;

              
                
                41
                +            "No") exec exit 0 ;;

              
                
                42
                +        esac

              
                
                43
                +    ;;

              
                
                44
                +    *) exit 1 ;;

              
                
                45
                +esac

              
A script/dmenu/dmenu-sysmon.sh
···
                
                1
                +#!/bin/sh

              
                
                2
                +

              
                
                3
                +declare options=("htop

              
                
                4
                +bashtop

              
                
                5
                +gtop")

              
                
                6
                +

              
                
                7
                +choice=$(echo -e "${options[@]}" | dmenu -h 24 -p 'System monitor ')

              
                
                8
                +

              
                
                9
                +case "$choice" in

              
                
                10
                +    htop) choice="htop" ;;

              
                
                11
                +    bashtop) choice="bashtop" ;;

              
                
                12
                +    gtop) choice="gtop" ;;

              
                
                13
                +    *) exit 1 ;;

              
                
                14
                +esac

              
                
                15
                +kitty -e "$choice"

              
D scripts/dmenu/dmenu-config-edit.sh
···
                1
                
                -#!/bin/sh

              
                2
                
                -

              
                3
                
                -declare options=("i3

              
                4
                
                -qtile

              
                5
                
                -bspwm

              
                6
                
                -polybar

              
                7
                
                -picom

              
                8
                
                -dunst

              
                9
                
                -qutebrowser

              
                10
                
                -quickmarks

              
                11
                
                -vim

              
                12
                
                -neovim

              
                13
                
                -kitty

              
                14
                
                -taskwarior

              
                15
                
                -fish

              
                16
                
                -zsh

              
                17
                
                -quit")

              
                18
                
                -

              
                19
                
                -choice=$(echo -e "${options[@]}" | dmenu -h 24 -p 'Edit config file: ')

              
                20
                
                -

              
                21
                
                -case "$choice" in

              
                22
                
                -	i3) choice="$HOME/.config/i3/config" ;;

              
                23
                
                -    qtile) choice="$HOME/.config/qtile/config.py" ;;

              
                24
                
                -    bspwm) choice="$HOME/.config/bspwm/bspwmrc" ;;

              
                25
                
                -	picom) choice="$HOME/.config/picom.conf" ;;

              
                26
                
                -	polybar) choice="$HOME/.config/polybar/config" ;;

              
                27
                
                -	quickmarks) choice="$HOME/.config/qutebrowser/quickmarks" ;;

              
                28
                
                -    qutebrowser) choice="$HOME/.config/qutebrowser/config.py" ;;

              
                29
                
                -	vim) choice="$HOME/.vimrc" ;;

              
                30
                
                -    nvim) choice="$HOME/.config/nvim/init.vim" ;;

              
                31
                
                -	dunst) choice="$HOME/.config/dunst/dunstrc" ;;

              
                32
                
                -	zsh) choice="$HOME/.zshrc" ;;

              
                33
                
                -    taskwarior) choice="$HOME/.taskrc" ;;

              
                34
                
                -    fish) choice="$HOME/.config/fish/config.fish" ;;

              
                35
                
                -    kitty) choice="$HOME/.config/kitty/kitty.conf" ;;

              
                36
                
                -	quit) echo "Program terminated." && exit 1 ;;

              
                37
                
                -	*) exit 1 ;;

              
                38
                
                -esac

              
                39
                
                -kitty -e nvim "$choice"

              
D scripts/dmenu/dmenu-power.sh
···
                1
                
                -#!/bin/sh

              
                2
                
                -

              
                3
                
                -declare options=("Shut Down

              
                4
                
                -Reboot

              
                5
                
                -Logout

              
                6
                
                -Suspend

              
                7
                
                -Lock Screen

              
                8
                
                -quit")

              
                9
                
                -

              
                10
                
                -choice=$(echo -e "${options[@]}" | dmenu -h 24 -p 'Power')

              
                11
                
                -

              
                12
                
                -case "$choice" in

              
                13
                
                -    "Shut Down")

              
                14
                
                -        declare opt=("Yes\nNo")

              
                15
                
                -        yesno=$(echo -e "${opt[@]}" | dmenu -h 24 -p 'Power')

              
                16
                
                -        case "$yesno" in

              
                17
                
                -            "Yes") exec systemctl poweroff ;;

              
                18
                
                -            "No") exec exit 0 ;;

              
                19
                
                -        esac

              
                20
                
                -    ;;

              
                21
                
                -    "Reboot")

              
                22
                
                -        declare opt=("Yes\nNo")

              
                23
                
                -        yesno=$(echo -e "${opt[@]}" | dmenu -h 24 -p 'Power')

              
                24
                
                -        case "$yesno" in

              
                25
                
                -            "Yes") exec systemctl reboot ;;

              
                26
                
                -            "No") exec exit 0 ;;

              
                27
                
                -        esac

              
                28
                
                -    ;;

              
                29
                
                -    "Logout")

              
                30
                
                -        declare opt=("Yes\nNo")

              
                31
                
                -        yesno=$(echo -e "${opt[@]}" | dmenu -h 24 -p 'Power')

              
                32
                
                -        case "$yesno" in

              
                33
                
                -            "Yes") exec loginctl terminate-session $XDG_SESSION_ID ;;

              
                34
                
                -            "No") exec exit 0 ;;

              
                35
                
                -        esac

              
                36
                
                -    ;;

              
                37
                
                -    "Lock Screen") 

              
                38
                
                -        declare opt=("Yes\nNo")

              
                39
                
                -        yesno=$(echo -e "${opt[@]}" | dmenu -h 24 -p 'Power')

              
                40
                
                -        case "$yesno" in

              
                41
                
                -            "Yes") exec loginctl lock-session $XDG_SESSION_ID ;;

              
                42
                
                -            "No") exec exit 0 ;;

              
                43
                
                -        esac

              
                44
                
                -    ;;

              
                45
                
                -	quit) echo "Program terminated." && exit 1 ;;

              
                46
                
                -    *) exit 1 ;;

              
                47
                
                -esac

              
D scripts/dmenu/dmenu-sysmon.sh
···
                1
                
                -#!/bin/sh

              
                2
                
                -

              
                3
                
                -declare options=("htop

              
                4
                
                -bashtop

              
                5
                
                -gtop

              
                6
                
                -quit")

              
                7
                
                -

              
                8
                
                -choice=$(echo -e "${options[@]}" | dmenu -h 24 -p 'System monitor ')

              
                9
                
                -

              
                10
                
                -case "$choice" in

              
                11
                
                -    htop) choice="htop" ;;

              
                12
                
                -    bashtop) choice="bashtop" ;;

              
                13
                
                -    gtop) choice="gtop" ;;

              
                14
                
                -	quit) echo "Program terminated." && exit 1 ;;

              
                15
                
                -    *) exit 1 ;;

              
                16
                
                -esac

              
                17
                
                -kitty -e "$choice"