diff options
author | Shubham Saini <shubham6405@gmail.com> | 2020-05-28 14:28:43 +0000 |
---|---|---|
committer | Shubham Saini <shubham6405@gmail.com> | 2020-05-28 14:28:43 +0000 |
commit | bfb26e1dddfb7399074f113dbff1df35d3e2db49 (patch) | |
tree | 9406d4eec2f0dd3c509f882df4f8dfe322ada673 /bin | |
parent | b89155ad0f7fe2810035043bfee4047586f64de4 (diff) |
changed a lot
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/.local/bin/shut | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/.local/bin/shut b/bin/.local/bin/shut index 9e560f8..2ed1951 100755 --- a/bin/.local/bin/shut +++ b/bin/.local/bin/shut | |||
@@ -1,10 +1,10 @@ | |||
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") | 3 | RET=$(echo -e "shutdown\nreboot\nsleep\nlock\ncancel" | dmenu -l 5 -p "Sayonara" -nb "#000000" -nf "#bfbfbf" -sb "#84a0c6" -sf "#000000" -fn "ASM\-Bold:style=☞:size=10") |
4 | 4 | ||
5 | case $RET in | 5 | case $RET in |
6 | shutdown) doas poweroff ;; | 6 | shutdown) sudo poweroff ;; |
7 | reboot) doas reboot ;; | 7 | reboot) sudo 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 | *) ;; |