summaryrefslogtreecommitdiff
path: root/.scripts
diff options
context:
space:
mode:
Diffstat (limited to '.scripts')
-rwxr-xr-x.scripts/toggle_touchpad.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/.scripts/toggle_touchpad.sh b/.scripts/toggle_touchpad.sh
index 21e4e02..de781ab 100755
--- a/.scripts/toggle_touchpad.sh
+++ b/.scripts/toggle_touchpad.sh
@@ -1,5 +1,7 @@
#!/bin/bash
+~/.scripts/toggle_user_unit.sh disable-touchpad.service && exit
+
which synclient &> /dev/null || exit
exec synclient TouchpadOff=$((1-$(synclient | awk '/TouchpadOff/ { print $3 }')))