diff options
Diffstat (limited to 'bin/.bin/shut')
-rwxr-xr-x | bin/.bin/shut | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/.bin/shut b/bin/.bin/shut index 1fb1295..2d24299 100755 --- a/bin/.bin/shut +++ b/bin/.bin/shut | |||
@@ -1,11 +1,11 @@ | |||
1 | #!/bin/bash | 1 | #!/bin/bash |
2 | 2 | ||
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:antialias=true:autohint=true") | 3 | RET=$(echo -e "shutdown\nreboot\nsleep\nlock\ncancel" | dmenu -p "Sayonara" -fn "JetBrains Mono Nerd Font Mono:style=medium:size=9" -nb "#171a1f" -nf "#f3f4f5" -sb "#c6c8d1" -sf "#171a1f") |
4 | 4 | ||
5 | case $RET in | 5 | case $RET in |
6 | shutdown) doas poweroff ;; | 6 | shutdown) systemctl poweroff ;; |
7 | reboot) doas reboot ;; | 7 | reboot) systemctl reboot ;; |
8 | sleep) xset s activate & doas zzz;; | 8 | sleep) systemctl suspend ;; |
9 | lock) xset s activate ;; | 9 | lock) xset s activate ;; |
10 | *) ;; | 10 | *) ;; |
11 | esac | 11 | esac |