aboutsummaryrefslogtreecommitdiff
path: root/rofi/powermenu.sh
diff options
context:
space:
mode:
authoreric.marin <maarin.eric@gmail.com>2024-12-19 16:32:46 +0100
committereric.marin <maarin.eric@gmail.com>2024-12-19 16:32:46 +0100
commit2fe5523e75cb98f1b848d186f909b579ec8ff5c9 (patch)
treeceb5a1835cb775111f11381d5037fc2de1f9d92e /rofi/powermenu.sh
parent5530697b46d8eb849f211d9923c2e8817cd18759 (diff)
downloaddotfiles-2fe5523e75cb98f1b848d186f909b579ec8ff5c9.tar.gz
dotfiles-2fe5523e75cb98f1b848d186f909b579ec8ff5c9.zip
removed rofi
Diffstat (limited to '')
-rwxr-xr-xrofi/powermenu.sh17
1 files changed, 0 insertions, 17 deletions
diff --git a/rofi/powermenu.sh b/rofi/powermenu.sh
deleted file mode 100755
index 2adc4c4..0000000
--- a/rofi/powermenu.sh
+++ /dev/null
@@ -1,17 +0,0 @@
-#! /bin/sh
-
-poweroff=""
-reboot=""
-lock=""
-exit="󰗼"
-
-chosen=$(echo -e "$poweroff\n$reboot\n$lock\n$exit" | rofi -dmenu -theme powermenu.rasi)
-
-case "$chosen" in
- "$poweroff") shutdown now ;;
- "$reboot") reboot ;;
- "$lock") loginctl lock-session ;;
- "$exit") hyprctl dispatch exit ;;
- *) exit 1 ;;
-esac
-