summaryrefslogtreecommitdiffstats
path: root/util/bin
diff options
context:
space:
mode:
authorroot <root@krebs>2011-09-24 19:14:40 +0200
committerroot <root@krebs>2011-09-24 19:14:40 +0200
commite239eec5c51fdf6cfe5052820ee050dda3909ae5 (patch)
treef5ad4ca525b11341ab7a1de1794ba497b9a587d3 /util/bin
parent67cbf3751c594aea88a71e350259943370b51b5f (diff)
parentd28df2570e5e30da5f6b3d619da1a30cf5f1f6ca (diff)
Merge branch 'master' of github.com:krebscode/painload
Diffstat (limited to 'util/bin')
-rwxr-xr-xutil/bin/untouch8
1 files changed, 8 insertions, 0 deletions
diff --git a/util/bin/untouch b/util/bin/untouch
new file mode 100755
index 00000000..17fd46b8
--- /dev/null
+++ b/util/bin/untouch
@@ -0,0 +1,8 @@
+#!/bin/sh
+#
+#This script toggles the touchpad on a netbook using synclient.
+
+status=`synclient|awk '/TouchpadOff/{printf$3}'`
+status=`expr \( $status + 1 \) \% 2`
+synclient TouchpadOff=$status
+