1
0
Fork 0

sway: Do not use swaynag for existing sway

This commit is contained in:
coderkun 2020-03-01 13:42:53 +01:00
parent 4ec5a201e1
commit 16374016ed

View file

@ -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"