Minor improvements
This commit is contained in:
parent
d0a652e6d5
commit
63e2c183b6
@ -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"
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user