summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/.local/bin/shut4
-rw-r--r--spectrwm/.config/spectrwm/spectrwm.conf6
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 @@
3RET=$(echo -e "shutdown\nreboot\nsleep\nlock\ncancel" | dmenu -l 5 -p "Sayonara" -nb "#000000" -nf "#bfbfbf" -sb "#84a0c6" -sf "#000000" -fn "Hermit:size=10") 3RET=$(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
5case $RET in 5case $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
69autorun = ws[1]:urxvtd 69autorun = ws[1]:urxvtd
70autorun = ws[1]:~/.fehbg 70autorun = ws[1]:~/.fehbg
71autorun = ws[1]:picom 71autorun = ws[1]:picom
72autorun = ws[2]:firefox 72autorun = ws[2]:firefox-bin
73autorun = ws[1]:~/bin/xss 73autorun = ws[1]:~/bin/xss
74autorun = ws[1]:~/.local/bin/bat_check.sh 74autorun = ws[1]:~/.local/bin/bat_check.sh
75 75
@@ -103,8 +103,8 @@ keyboard_mapping = ~/.config/spectrwm/keybindings.conf
103program[lock] = xset s activate 103program[lock] = xset s activate
104program[term] = urxvtc 104program[term] = urxvtc
105program[menu] = ~/bin/menu 105program[menu] = ~/bin/menu
106program[bup] = sudo bash -c 'for f in /sys/class/backlight/*; do echo $(($(<$f/brightness)+5*$(<$f/max_brightness)/100)) > $f/brightness; done' 106program[bup] = doas bash -c 'for f in /sys/class/backlight/*; do echo $(($(<$f/brightness)+5*$(<$f/max_brightness)/100)) > $f/brightness; done'
107program[bdown] = sudo bash -c 'for f in /sys/class/backlight/*; do echo $(($(<$f/brightness)-5*$(<$f/max_brightness)/100)) > $f/brightness; done' 107program[bdown] = doas bash -c 'for f in /sys/class/backlight/*; do echo $(($(<$f/brightness)-5*$(<$f/max_brightness)/100)) > $f/brightness; done'
108program[soundinc] = pulsemixer --change-volume +5 108program[soundinc] = pulsemixer --change-volume +5
109program[sounddec] = pulsemixer --change-volume -5 109program[sounddec] = pulsemixer --change-volume -5
110program[soundmute] = pulsemixer --toggle-mute 110program[soundmute] = pulsemixer --toggle-mute