diff options
Diffstat (limited to 'scripts/powermenu')
-rwxr-xr-x | scripts/powermenu | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/powermenu b/scripts/powermenu index d8f7891..e9d6a2a 100755 --- a/scripts/powermenu +++ b/scripts/powermenu @@ -1,7 +1,9 @@ #!/bin/sh -resp=$(printf "♻️ shutdown\n⏼ reboot\n lock\nrestart dwm\nclose dwm" | dmenu) +resp=$(printf "♻️ shutdown\n⏼ reboot\n lock\nrestart dwm\nclose X" | dmenu) [ "$resp" = "♻️ shutdown" ] && sudo poweroff [ "$resp" = "⏼ reboot" ] && sudo reboot [ "$resp" = " lock" ] && slock +[ "$resp" = "restart dwm" ] && pkill dwm +[ "$resp" = "close X" ] && pkill xinit |