Lock when sleeping, please

This commit is contained in:
Geoffrey Frogeye 2016-12-04 14:20:46 +01:00
parent e40aa83fcb
commit 75b820f0df

View file

@ -262,10 +262,10 @@ set $mode_system [L] Vérouillage [E] Déconnexion [S] Veille [H] Hibernation [R
mode "$mode_system" {
bindsym l exec --no-startup-id $locker, mode "default"
bindsym e exit, mode "default"
bindsym s exec --no-startup-id systemctl suspend, mode "default"
bindsym h exec --no-startup-id systemctl hibernate, mode "default"
bindsym s exec --no-startup-id $locker & systemctl suspend, mode "default"
bindsym h exec --no-startup-id $locker & systemctl hibernate, mode "default"
bindsym r exec --no-startup-id systemctl reboot, mode "default"
bindsym p exec --no-startup-id systemctl poweroff -i, mode "default"
bindsym p exec --no-startup-id systemctl poweroff -i, mode "default"
# back to normal: Enter or Escape
bindsym Return mode "default"