aboutsummaryrefslogtreecommitdiffstats
path: root/bin/exit-menu-sway.sh
diff options
context:
space:
mode:
authorLeonardo Bishop <me@leonardobishop.com>2025-02-13 00:35:29 +0000
committerLeonardo Bishop <me@leonardobishop.com>2025-02-13 00:35:29 +0000
commit0351672b509d3db2074474641bf23b2a1a5894f1 (patch)
tree80f303738e42aacfb23100ccb5e74c21e214c893 /bin/exit-menu-sway.sh
parent0e05994530deb53982ee8559c9fbf99845e15ee7 (diff)
Change screenlocker and update screenshot program
Diffstat (limited to 'bin/exit-menu-sway.sh')
-rwxr-xr-xbin/exit-menu-sway.sh9
1 files changed, 4 insertions, 5 deletions
diff --git a/bin/exit-menu-sway.sh b/bin/exit-menu-sway.sh
index 9c9f7ab..bd48e92 100755
--- a/bin/exit-menu-sway.sh
+++ b/bin/exit-menu-sway.sh
@@ -1,18 +1,17 @@
#!/bin/bash
-entries=" Lock\n󰹆 Suspend\n󰹆 Suspend-then-Hibernate\n󰒲 Hibernate\n󰍃 Logout\n󰜉 Reboot\n󰐥 Shutdown"
+#entries=" Lock\n󰹆 Suspend\n󰹆 Suspend-then-Hibernate\n󰒲 Hibernate\n󰍃 Logout\n󰜉 Reboot\n󰐥 Shutdown"
+entries=" Lock\n󰹆 Suspend\n󰒲 Hibernate\n󰍃 Logout\n󰜉 Reboot\n󰐥 Shutdown"
selected=$(echo -e $entries|wofi --width 100 --height 212 --dmenu --cache-file /dev/null --define content_halign=center --define prompt="Exit menu" | awk '{print tolower($2)}')
case $selected in
lock)
- swaylock;;
+ hyprlock;;
logout)
hyprctl dispatch exit;;
- suspend-then-hibernate)
- exec systemctl suspend-then-hibernate;;
suspend)
- exec systemctl suspend;;
+ exec systemctl suspend-then-hibernate;;
hibernate)
exec systemctl hibernate;;
reboot)