From 41619778f2a32c9c78422a0bd7b15209bc13f68a Mon Sep 17 00:00:00 2001 From: momo Date: Fri, 23 Sep 2011 21:20:14 +0200 Subject: //util/bin/untouch: initial commit --- util/bin/untouch | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 util/bin/untouch (limited to 'util/bin') 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 + -- cgit v1.2.3