diff options
author | Shubham Saini <shubham6405@gmail.com> | 2020-05-30 20:05:05 +0000 |
---|---|---|
committer | Shubham Saini <shubham6405@gmail.com> | 2020-05-30 20:05:05 +0000 |
commit | d12d9fc8d6eff348706787e61494d63a67eb917e (patch) | |
tree | a30db9a23de4fa480c4981a20ab85abe05beb4e3 /bin | |
parent | 5262da31979f82a27dd53a60a8bf3fc411a1a848 (diff) |
changes
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 |