diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/.local/bin/shut | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/.local/bin/shut b/bin/.local/bin/shut index 53fdf03..90be4e0 100755 --- a/bin/.local/bin/shut +++ b/bin/.local/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 "ASM\-Regular:style=☞:size=10:antialias=true:autohint=true") | 3 | RET=$(echo -e "shutdown\nreboot\nsleep\nlock\ncancel" | dmenu -l 5 -p "Sayonara" -nb "#000000" -nf "#bfbfbf" -sb "#84a0c6" -sf "#000000" -fn "JetBrainsMono Nerd Font Mono:size=10:antialias=true:autohint=true") |
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 & doas zzz;; |
9 | lock) xset s activate ;; | 9 | lock) xset s activate ;; |
10 | *) ;; | 10 | *) ;; |
11 | esac | 11 | esac |