diff --git a/i3/config b/i3/config index 08e6ac4..e52fa6b 100644 --- a/i3/config +++ b/i3/config @@ -88,8 +88,8 @@ bindsym $mod+shift+Return exec uxterm -e "cd `xcwd`&&/bin/zsh" 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 10 -time 0 -steps 1" -bindsym XF86MonBrightnessDown exec "xbacklight -dec 10 -time 0 -steps 1" +bindsym XF86MonBrightnessUp exec "xbacklight -inc 5 -time 0 -steps 1" +bindsym 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 5%+ unmute" bindsym XF86AudioLowerVolume exec "amixer set Master 5%- unmute" diff --git a/i3/run.sh b/i3/run.sh index 8a95624..878d7e6 100755 --- a/i3/run.sh +++ b/i3/run.sh @@ -1,7 +1,7 @@ #!/bin/zsh if [ "$1" = "lock" ];then synclient TouchpadOff=1 - while [ ! "$PASSWORD" = "a" ];do export PASSWORD=$(echo|dmenu -p Type\ a:);done + while [ ! "$PASSWORD" = "a" ];do export PASSWORD=$(echo|dmenu -p Locked);done synclient TouchpadOff=0 fi if [ "$1" = "pass" ];then