Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 593 Bytes

README.md

File metadata and controls

15 lines (10 loc) · 593 Bytes

touchpadtoggle

Checks whether a mouse is attached to (or detached from) USB port and runs script to toggle touchpad. Uses udev and libnotify.

Quickstart

Download the zipball or clone the repo:

git clone https://github.com/relthyg/touchpadtoggle.git

Copy the files to their corresponding folders and set file permissions (as root).

cp touchpadtoggle.sh /opt/bin
cp 70-touchpad.rules /etc/udev/rules.d
chmod a+x /opt/bin/touchpadtoggle.sh

Attach your mouse and pray that everything works fine.