summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtouchpadd-toggle.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/touchpadd-toggle.sh b/touchpadd-toggle.sh
new file mode 100755
index 0000000..368158f
--- /dev/null
+++ b/touchpadd-toggle.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+if [ $(synclient -l | grep TouchpadOff | awk '{ print $3 }') = 1 ] ; then
+ synclient touchpadoff=0
+else
+ synclient touchpadoff=1
+fi