summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorShubham Saini <shubham6405@gmail.com>2020-05-30 20:05:05 +0000
committerShubham Saini <shubham6405@gmail.com>2020-05-30 20:05:05 +0000
commitd12d9fc8d6eff348706787e61494d63a67eb917e (patch)
treea30db9a23de4fa480c4981a20ab85abe05beb4e3 /bin
parent5262da31979f82a27dd53a60a8bf3fc411a1a848 (diff)
changes
Diffstat (limited to 'bin')
-rwxr-xr-xbin/.local/bin/shut8
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
3RET=$(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") 3RET=$(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
5case $RET in 5case $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 *) ;;
11esac 11esac