commit f2bb776e7762b75fabb2773dc5b76bdb97339231 parent 84ddf971474ea1bc565b5e6e63d0452ee444d215 Author: Chris Bracken <chris@bracken.jp> Date: Sun, 25 May 2014 22:05:25 -0700 Enable screensaver/lock screen Diffstat:
M | .i3/config | | | 7 | +++++++ |
1 file changed, 7 insertions(+), 0 deletions(-)
diff --git a/.i3/config b/.i3/config @@ -30,6 +30,10 @@ bindsym $mod+Return exec i3-sensible-terminal # kill focused window bindsym $mod+Shift+q kill +# Lock, suspend +set $lock_screen gnome-screensaver-command --lock +bindsym Mod1+Mod4+l exec $lock_screen + # start dmenu (a program launcher) bindsym $mod+d exec dmenu_run # There also is the (new) i3-dmenu-desktop which only displays applications @@ -131,3 +135,6 @@ bindsym $mod+r mode "resize" bar { status_command i3status } + +# lock screen on idle +exec --no-startup-id xautolock -time 10 -locker "$lock_screen"