diff options
Diffstat (limited to 'src/scripts')
-rwxr-xr-x | src/scripts/sTouchpad | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/scripts/sTouchpad b/src/scripts/sTouchpad index 7e2dbb5..87c0000 100755 --- a/src/scripts/sTouchpad +++ b/src/scripts/sTouchpad @@ -8,8 +8,8 @@ file=~/.cache/touchpad_on if [ -f $file ];then rm $file - xinput disable "$(xinput list --name-only | grep Touchpad)" + xinput disable "$(xinput list --name-only | grep Touchpad)" && nsend Touchpad Disabled else touch $file - xinput enable "$(xinput list --name-only | grep Touchpad)" + xinput enable "$(xinput list --name-only | grep Touchpad)" && nsend Touchpad Enabled fi |