aboutsummaryrefslogtreecommitdiffstats
path: root/bin/exit-menu-sway.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/exit-menu-sway.sh')
-rwxr-xr-xbin/exit-menu-sway.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/bin/exit-menu-sway.sh b/bin/exit-menu-sway.sh
index bd48e92..658fa1e 100755
--- a/bin/exit-menu-sway.sh
+++ b/bin/exit-menu-sway.sh
@@ -7,11 +7,13 @@ selected=$(echo -e $entries|wofi --width 100 --height 212 --dmenu --cache-file /
case $selected in
lock)
- hyprlock;;
+ loginctl lock-session;;
logout)
- hyprctl dispatch exit;;
+ swaymsg exit;;
+# suspend-then-hibernate)
+# exec systemctl suspend-then-hibernate;;
suspend)
- exec systemctl suspend-then-hibernate;;
+ exec systemctl suspend;;
hibernate)
exec systemctl hibernate;;
reboot)