diff options
author | Theo J.A. de Vries | 2015-07-30 10:35:42 +0200 |
---|---|---|
committer | Theo J.A. de Vries | 2015-07-30 10:35:42 +0200 |
commit | 620fffa126b3a5d3b16f864cbd9ba6bb4ec8997c (patch) | |
tree | ceb2a97b8ed4efa5bb12d25bb4756aaa440e2e18 /touchpad-toggle.sh | |
download | aur-620fffa126b3a5d3b16f864cbd9ba6bb4ec8997c.tar.gz |
Initial commit
Diffstat (limited to 'touchpad-toggle.sh')
-rwxr-xr-x | touchpad-toggle.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/touchpad-toggle.sh b/touchpad-toggle.sh new file mode 100755 index 000000000000..913e87688915 --- /dev/null +++ b/touchpad-toggle.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +# Script to toggle the touchpad +# See https://wiki.archlinux.org/index.php/Touchpad_Synaptics#Software_toggle +# Use desktop environment to set keyboard shortcut. + +synclient TouchpadOff=$(synclient -l | grep -c 'TouchpadOff.*=.*0') |