sway: Do not use swaynag for existing sway
This commit is contained in:
parent
4ec5a201e1
commit
16374016ed
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue