From 57331ef47b32a9034f60d8365549e8eabcd0e770 Mon Sep 17 00:00:00 2001 From: Austen Adler Date: Sun, 29 Nov 2015 22:20:49 -0500 Subject: [PATCH] Better brightness controls, disable i3-wk-switch.py (because it's slow) --- i3/config | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/i3/config b/i3/config index 0a43a0c..726a65d 100644 --- a/i3/config +++ b/i3/config @@ -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