diff options
author | Shubham Saini <shubham6405@gmail.com> | 2020-05-07 17:32:02 +0000 |
---|---|---|
committer | Shubham Saini <shubham6405@gmail.com> | 2020-05-07 17:32:02 +0000 |
commit | 92f92f8e22cc77bb02a53c32d2aabbb83417eac2 (patch) | |
tree | e2dfd99c14d7b051ec3ea5145c4a43336e90db3e | |
parent | c68e0cfc0c3811fac25b371395e2dd5a7ab555c3 (diff) |
distrohopping
-rwxr-xr-x | bin/.local/bin/shut | 4 | ||||
-rw-r--r-- | spectrwm/.config/spectrwm/spectrwm.conf | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/bin/.local/bin/shut b/bin/.local/bin/shut index 801d5bf..76a7bd0 100755 --- a/bin/.local/bin/shut +++ b/bin/.local/bin/shut | |||
@@ -3,8 +3,8 @@ | |||
3 | RET=$(echo -e "shutdown\nreboot\nsleep\nlock\ncancel" | dmenu -l 5 -p "Sayonara" -nb "#000000" -nf "#bfbfbf" -sb "#84a0c6" -sf "#000000" -fn "Hermit:size=10") | 3 | RET=$(echo -e "shutdown\nreboot\nsleep\nlock\ncancel" | dmenu -l 5 -p "Sayonara" -nb "#000000" -nf "#bfbfbf" -sb "#84a0c6" -sf "#000000" -fn "Hermit:size=10") |
4 | 4 | ||
5 | case $RET in | 5 | case $RET in |
6 | shutdown) sudo poweroff ;; | 6 | shutdown) doas poweroff ;; |
7 | reboot) sudo reboot ;; | 7 | reboot) doas reboot ;; |
8 | sleep) xset s activate & sudo zzz ;; | 8 | sleep) xset s activate & sudo zzz ;; |
9 | lock) xset s activate ;; | 9 | lock) xset s activate ;; |
10 | *) ;; | 10 | *) ;; |
diff --git a/spectrwm/.config/spectrwm/spectrwm.conf b/spectrwm/.config/spectrwm/spectrwm.conf index 62709ad..3bff621 100644 --- a/spectrwm/.config/spectrwm/spectrwm.conf +++ b/spectrwm/.config/spectrwm/spectrwm.conf | |||
@@ -69,7 +69,7 @@ urgent_enabled = 1 | |||
69 | autorun = ws[1]:urxvtd | 69 | autorun = ws[1]:urxvtd |
70 | autorun = ws[1]:~/.fehbg | 70 | autorun = ws[1]:~/.fehbg |
71 | autorun = ws[1]:picom | 71 | autorun = ws[1]:picom |
72 | autorun = ws[2]:firefox | 72 | autorun = ws[2]:firefox-bin |
73 | autorun = ws[1]:~/bin/xss | 73 | autorun = ws[1]:~/bin/xss |
74 | autorun = ws[1]:~/.local/bin/bat_check.sh | 74 | autorun = ws[1]:~/.local/bin/bat_check.sh |
75 | 75 | ||
@@ -103,8 +103,8 @@ keyboard_mapping = ~/.config/spectrwm/keybindings.conf | |||
103 | program[lock] = xset s activate | 103 | program[lock] = xset s activate |
104 | program[term] = urxvtc | 104 | program[term] = urxvtc |
105 | program[menu] = ~/bin/menu | 105 | program[menu] = ~/bin/menu |
106 | program[bup] = sudo bash -c 'for f in /sys/class/backlight/*; do echo $(($(<$f/brightness)+5*$(<$f/max_brightness)/100)) > $f/brightness; done' | 106 | program[bup] = doas bash -c 'for f in /sys/class/backlight/*; do echo $(($(<$f/brightness)+5*$(<$f/max_brightness)/100)) > $f/brightness; done' |
107 | program[bdown] = sudo bash -c 'for f in /sys/class/backlight/*; do echo $(($(<$f/brightness)-5*$(<$f/max_brightness)/100)) > $f/brightness; done' | 107 | program[bdown] = doas bash -c 'for f in /sys/class/backlight/*; do echo $(($(<$f/brightness)-5*$(<$f/max_brightness)/100)) > $f/brightness; done' |
108 | program[soundinc] = pulsemixer --change-volume +5 | 108 | program[soundinc] = pulsemixer --change-volume +5 |
109 | program[sounddec] = pulsemixer --change-volume -5 | 109 | program[sounddec] = pulsemixer --change-volume -5 |
110 | program[soundmute] = pulsemixer --toggle-mute | 110 | program[soundmute] = pulsemixer --toggle-mute |