Better brightness controls, disable i3-wk-switch.py (because it's slow)

This commit is contained in:
Austen Adler 2015-11-29 22:20:49 -05:00
parent 8eeaa4abe0
commit 57331ef47b

View File

@ -95,8 +95,10 @@ bindsym $mod+shift+Return exec urxvt -cd `xcwd`
bindsym $mod+shift+c kill
bindsym $mod+c move absolute position center
bindsym $mod+F1 exec "~/.i3/run.sh lock"
bindsym XF86MonBrightnessUp exec "xbacklight -inc 5 -time 0 -steps 1"
bindsym XF86MonBrightnessDown exec "xbacklight -dec 5 -time 0 -steps 1"
bindsym XF86MonBrightnessUp exec "xbacklight -inc 1 -time 0 -steps 1"
bindsym XF86MonBrightnessDown exec "xbacklight -dec 1 -time 0 -steps 1"
bindsym $mod+XF86MonBrightnessUp exec "xbacklight -inc 5 -time 0 -steps 1"
bindsym $mod+XF86MonBrightnessDown exec "xbacklight -dec 5 -time 0 -steps 1"
bindsym XF86TouchpadToggle exec "synclient TouchpadOff=$(synclient -l | grep -c 'TouchpadOff.*=.*0')"
bindsym XF86AudioRaiseVolume exec "amixer set Master 1%+ unmute"
bindsym XF86AudioLowerVolume exec "amixer set Master 1%- unmute"
@ -129,7 +131,8 @@ bindsym $mod+o workspace back_and_forth
bindsym $mod+bracketleft workspace prev
bindsym $mod+bracketright workspace next
bindsym $mod+a focus parent
set $x_switch exec --no-startup-id /usr/local/bin/i3-wk-switch.py
#set $x_switch exec --no-startup-id /usr/local/bin/i3-wk-switch.py
set $x_switch workspace
bindsym $mod+1 $x_switch 1
bindsym $mod+2 $x_switch 2
bindsym $mod+3 $x_switch 3