diff --git a/sway/config b/sway/config index d0b3853..d3fba2d 100644 --- a/sway/config +++ b/sway/config @@ -138,7 +138,7 @@ set $mode_system System (b) blank, (l) lock, (e) logout, (s) suspend, (h) hibern mode "$mode_system" { bindsym b exec 'sleep 1 && killall -s SIGUSR1 swayidle', mode "default" bindsym l exec '$locker', mode "default" - bindsym e exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -b 'Yes, exit sway' 'swaymsg exit', mode "default" + bindsym e exec swaymsg exit, mode "default" bindsym s exec '$locker && systemctl suspend', mode "default" bindsym h exec '$locker && systemctl hibernate', mode "default" bindsym r exec systemctl reboot, mode "default"