diff options
author | root <root@krebs> | 2011-09-24 19:14:40 +0200 |
---|---|---|
committer | root <root@krebs> | 2011-09-24 19:14:40 +0200 |
commit | e239eec5c51fdf6cfe5052820ee050dda3909ae5 (patch) | |
tree | f5ad4ca525b11341ab7a1de1794ba497b9a587d3 /util/bin/untouch | |
parent | 67cbf3751c594aea88a71e350259943370b51b5f (diff) | |
parent | d28df2570e5e30da5f6b3d619da1a30cf5f1f6ca (diff) |
Merge branch 'master' of github.com:krebscode/painload
Diffstat (limited to 'util/bin/untouch')
-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 + |