diff options
author | momo <momo+github@mo2-systems.com> | 2011-09-23 21:20:14 +0200 |
---|---|---|
committer | momo <momo+github@mo2-systems.com> | 2011-09-23 21:20:14 +0200 |
commit | 41619778f2a32c9c78422a0bd7b15209bc13f68a (patch) | |
tree | 0f3259c7346cb306b261e33958c1d20fb4f1f458 | |
parent | f97bb70e6f3372c6bbbc70a057cc6880f1044c9a (diff) |
//util/bin/untouch: initial commit
-rwxr-xr-x | util/bin/untouch | 8 |
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 + |