summaryrefslogtreecommitdiff
path: root/dist/dwm/power.sh
diff options
context:
space:
mode:
Diffstat (limited to 'dist/dwm/power.sh')
-rwxr-xr-xdist/dwm/power.sh12
1 files changed, 0 insertions, 12 deletions
diff --git a/dist/dwm/power.sh b/dist/dwm/power.sh
deleted file mode 100755
index 318c7cf..0000000
--- a/dist/dwm/power.sh
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/usr/bin/env bash
-chosen=$(printf " Power Off\n Restart\n Suspend\n Hibernate\n󰗼 Log Out\n Lock" | rofi -dmenu -i -p "Choice:")
-
-case "$chosen" in
- " Power Off") poweroff ;;
- " Restart") reboot ;;
- " Suspend") systemctl suspend-then-hibernate ;;
- " Hibernate") systemctl hibernate ;;
- "󰗼 Log Out") killall dwm ;;
- " Lock") betterlockscreen -l ;;
- *) exit 1 ;;
-esac