Big updates, ie khal+vdirsyncer
[dotfiles.git] / .config / i3 / config
index 858e675..fe3844b 100644 (file)
@@ -9,10 +9,11 @@
 #
 # Please see http://i3wm.org/docs/userguide.html for a complete reference!
 
-set $mod Mod1
+set $mod Mod4
 
-exec xautolock -locker 'i3lock -c ccff00'
+exec xautolock -locker 'i3lock -c ccff00; systemctl suspend'
 exec convert -size 1600x900 plasma:fractal -modulate 20,100,10 png:- | display -window root
+exec xbacklight -set 50
 exec netctltray
 
 # Font for window titles. Will also be used by the bar unless a different font
@@ -55,8 +56,8 @@ bindsym $mod+s focus right
 
 # alternatively, you can use the cursor keys:
 bindsym $mod+Left exec xbacklight -dec 5
-bindsym $mod+Down exec amixer set Master 5-
-bindsym $mod+Up exec amixer set Master 5+
+bindsym $mod+Down exec amixer set Master 5- && kill -n 10 `pidof i3status`
+bindsym $mod+Up exec amixer set Master 5+ && kill -n 10 `pidof i3status`
 bindsym $mod+Right exec xbacklight -inc 5
 
 # move focused window