Minor pass improvement

This commit is contained in:
Austen Adler 2015-04-19 11:14:16 -04:00
parent 1f1c49e974
commit 2599e00c87

View File

@ -5,7 +5,7 @@ if [ "$1" = "lock" ];then
TRACK=$(xinput list | grep 'TouchPad' | sed -e 's/.*id=//' | cut -f 1)
xinput set-prop $MOUSE "Device Enabled" 0
xinput set-prop $TRACK "Device Enabled" 0
while [ ! "$PASSWORD" = "a" ];do export PASSWORD=$(echo|rofi -dmenu $(i3-color-rofi));done
while [ ! "$PASSWORD" = "a" ];do export PASSWORD=$((rofi -dmenu $(i3-color-rofi))</dev/null);done
xinput set-prop $MOUSE "Device Enabled" 1
xinput set-prop $TRACK "Device Enabled" 1
#synclient TouchpadOff=0