summaryrefslogtreecommitdiff
path: root/.local/bin/powermenu
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2021-05-01 11:04:19 -0400
committerBenjamin Chausse <benjamin@chausse.xyz>2021-05-01 11:04:19 -0400
commit9ed9de5006d437e126c5871dc0cf38a02825aabb (patch)
treed92d4b6ad254626312ed84c78063dffb73dfa639 /.local/bin/powermenu
parentaf79f164cc50ae0299b3820e9cab290cb6fbcd82 (diff)
workstation Files
Diffstat (limited to '.local/bin/powermenu')
-rwxr-xr-x.local/bin/powermenu11
1 files changed, 0 insertions, 11 deletions
diff --git a/.local/bin/powermenu b/.local/bin/powermenu
deleted file mode 100755
index 994953e..0000000
--- a/.local/bin/powermenu
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/sh
-
-choice=$(printf "Logout\\nShutdown\\nReboot\\nHibernate" | dmenu -i -p "Power Utility")
-
-case $choice in
- *L*) $SCRIPTS/control/lockscreen ;;
- *H*) systemctl suspend ;;
- *R*) reboot ;;
- *S*) shutdown -h now ;;
- "") notify-send -i "$HOME/.fonts/svg/power-off.svg" -a Power "Operation suspended"
-esac