diff options
author | tv <tv@iiso> | 2011-09-24 21:14:35 +0200 |
---|---|---|
committer | tv <tv@iiso> | 2011-09-24 21:14:35 +0200 |
commit | e692ab13d032df6e8c96bf1ec840f366122dca1f (patch) | |
tree | 6b5cddee32d52d8de4005c93204665acbb762925 /util/bin/untouch | |
parent | a1885b309ceb50afddf3b6cf758b3569e942ecbb (diff) | |
parent | 53679fedeb1db9d68399638fc44aa4cf4ac5ee1c (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 + |