summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorShubham Saini <shubham6405@gmail.com>2020-05-11 18:45:38 +0000
committerShubham Saini <shubham6405@gmail.com>2020-05-11 18:45:38 +0000
commit714e35b4a6fc369b2d6ba84ffa12450fc5607140 (patch)
tree2b85de1122f24801dea0d8f59b6caa73bb93b0ee /bin
parent92f92f8e22cc77bb02a53c32d2aabbb83417eac2 (diff)
256
Diffstat (limited to 'bin')
-rwxr-xr-xbin/.local/bin/shut4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/.local/bin/shut b/bin/.local/bin/shut
index 76a7bd0..801d5bf 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) 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 *) ;;