disabled systemd-backlight, too slow, manual backlight set in i3config'
[dotfiles.git] / .config / i3 / config
index 858e675..8ef08f3 100644 (file)
@@ -13,6 +13,7 @@ set $mod Mod1
 
 exec xautolock -locker 'i3lock -c ccff00'
 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