diff options
Diffstat (limited to '')
| -rw-r--r-- | .config/volumeicon/volumeicon (renamed from volumeicon/volumeicon) | 0 | ||||
| -rwxr-xr-x | .dwm/power.sh | 12 |
2 files changed, 12 insertions, 0 deletions
diff --git a/volumeicon/volumeicon b/.config/volumeicon/volumeicon index 72dddf1..72dddf1 100644 --- a/volumeicon/volumeicon +++ b/.config/volumeicon/volumeicon diff --git a/.dwm/power.sh b/.dwm/power.sh new file mode 100755 index 0000000..e5c5ad2 --- /dev/null +++ b/.dwm/power.sh @@ -0,0 +1,12 @@ +#!/bin/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 |
