summaryrefslogtreecommitdiff
path: root/.i3
diff options
context:
space:
mode:
Diffstat (limited to '.i3')
-rw-r--r--.i3/config10
1 files changed, 8 insertions, 2 deletions
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=«,»