summaryrefslogtreecommitdiff
path: root/.dwm/power.sh
diff options
context:
space:
mode:
authorRaghuram Subramani <raghus2247@gmail.com>2024-01-27 12:45:54 +0530
committerRaghuram Subramani <raghus2247@gmail.com>2024-01-27 12:45:54 +0530
commit05f9bc5afd5ac5f671f1dcd3d20774b0987545ec (patch)
treeaa1a9fbe816b5217f6827ae2a41481f762c6c7f4 /.dwm/power.sh
parentcc5a352e65e533cc84358a546c9ee6f1d5a47908 (diff)
refactor dotfiles, and use nix
Diffstat (limited to '.dwm/power.sh')
-rwxr-xr-x.dwm/power.sh12
1 files changed, 0 insertions, 12 deletions
diff --git a/.dwm/power.sh b/.dwm/power.sh
deleted file mode 100755
index e5c5ad2..0000000
--- a/.dwm/power.sh
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/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