Quick script that wraps xinput to toggle on/off laptop touchpads.
The script should work on Linux devices using xinput
with Ruby installed.
YMMV: The script requires the touchpad device name to match /touchpad/i
.
Put this repo in the path and run toggle_touchpad
from the terminal or add the command to a global hotkey.