From 75b820f0dfc5677f65b842d8619b02f6ca245dec Mon Sep 17 00:00:00 2001 From: Geoffrey Frogeye Date: Sun, 4 Dec 2016 14:20:46 +0100 Subject: [PATCH] Lock when sleeping, please --- config/i3/config | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config/i3/config b/config/i3/config index 48c0450..1e3bf0b 100644 --- a/config/i3/config +++ b/config/i3/config @@ -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"