Enable/Disable Touchpad when an USB mouse is plugged/unplugged. This is a workaround when your touchpad is not recognized and touchpad-indicator is not working.
- Clone repository.
- Run
xinput
for touchpad identification and change the value of$touchpad
variable. - Add script to startup.