summaryrefslogtreecommitdiff
path: root/scripts/powermenu
diff options
context:
space:
mode:
authorself <george@gabbott.dev>2023-01-05 16:53:16 +0000
committerself <george@gabbott.dev>2023-01-05 16:53:16 +0000
commit881108f51baee0652300325a1dd1e071e2866eed (patch)
tree31f795d183c0c50b5d1401a64da3ed53613e0581 /scripts/powermenu
parent0e29becfa37203f02fa8392bb3de61265b44ed1a (diff)
Removed scripts, as moved to orgd
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