Last active
May 28, 2018 13:01
-
-
Save telmotrooper/78d06dee47970270570adb1c7b121807 to your computer and use it in GitHub Desktop.
Toggle touchpad script (recommended shortcut is "Ctrl + \")
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
var=$(synclient -l | grep TouchpadOff) | |
if [[ "$var" == " TouchpadOff = 0" ]]; then | |
synclient TouchpadOff=1 | |
else | |
synclient TouchpadOff=0 | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment