diff options
-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 |