diff options
author | Urbain Vaes <urbain@vaes.uk> | 2016-01-27 13:47:02 +0000 |
---|---|---|
committer | Urbain Vaes <urbain@vaes.uk> | 2016-01-27 13:47:02 +0000 |
commit | 5e37d9cc35c6ec8b8387eded126f4a1fb617fd1c (patch) | |
tree | d18df68cd01565432312cc8302187f57e8a2f81a /bin | |
parent | 014c4e6252e829c5e546f9d05ed7ec999e75d3d0 (diff) | |
parent | c223e72d93df76025a365018d44603bf4ce750ea (diff) |
Merge branch 'master' of urbainvaes.com:git/dotfiles
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/touchpad | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/bin/touchpad b/bin/touchpad new file mode 100755 index 0000000..17649fa --- /dev/null +++ b/bin/touchpad @@ -0,0 +1,9 @@ +#! /usr/bin/env bash + +# Touchpad status +status=$(synclient -l | grep TouchpadOff) +if [[ $status = *1 ]]; then + synclient TouchpadOff=0 +elif [[ $status = *0 ]]; then + synclient TouchpadOff=1 +fi |