summaryrefslogtreecommitdiff
path: root/scripts/powermenu
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/powermenu')
-rwxr-xr-xscripts/powermenu9
1 files changed, 0 insertions, 9 deletions
diff --git a/scripts/powermenu b/scripts/powermenu
deleted file mode 100755
index e9d6a2a..0000000
--- a/scripts/powermenu
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/sh
-
-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