summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/scripts/sTouchpad4
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