From c8366007b6fa70221c0362dac3079213bbc88a6e Mon Sep 17 00:00:00 2001 From: René Neumann Date: Fri, 31 May 2013 17:50:05 +0200 Subject: Locking --- .i3/config | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to '.i3') diff --git a/.i3/config b/.i3/config index d13a7cd..8bb1398 100644 --- a/.i3/config +++ b/.i3/config @@ -7,7 +7,8 @@ set $mod Mod4 set $alt Mod1 -set $dir $HOME/.i3/ +set $dir $HOME/.i3 +set $script $HOME/.i3/scripts # General Settings «1 ################################################ @@ -27,7 +28,7 @@ font pango:Inconsolata 9 ################################################# bar { font pango:DroidSansMono 9 - status_command $dir/scripts/conkystatus.sh + status_command $script/conkystatus.sh position top tray_output primary } @@ -38,6 +39,8 @@ bar { # General «2 ############ +# lock screen +bindsym $alt+Control+l exec $script/xlock.sh # kill focused window bindsym $mod+Shift+w kill bindsym $alt+F4 kill @@ -206,4 +209,7 @@ for_window [class="^(?i)firefox$" instance="Browser"] floating enable # volume icon exec volumeicon +# auto lock +exec xautolock -corners ++00 -cornerdelay 5 -cornerredelay 30 -time 10 -secure -locker $script/xlock.sh + # vim: ft=i3 fdm=marker fmr=«,» -- cgit v1.2.3-54-g00ecf