mirror of https://github.com/tiyn/dotfiles
5 lines
229 B
5 lines
229 B
5 years ago
|
#!/bin/sh
|
||
|
# Toggle touchpad. Requires xf86-input-synaptics.
|
||
|
(synclient | grep "TouchpadOff.*1" && synclient TouchpadOff=0)>/dev/null && echo "TouchPad reactivated." && exit
|
||
|
synclient TouchpadOff=1 && echo "TouchPad deactivated."
|