Commit 4a0de5909f1f8bd76ea46a665a7911883f7cafe7

Authored by Imanol-Mikel Barba Sabariego
1 parent d369f647

Added README

Showing 1 changed file with 6 additions and 0 deletions
README.md 0 → 100644
  1 +To automatically run the program on device plug in or plug out events, add this to `udev` rules:
  2 +
  3 +```
  4 +ACTION=="add", ATTRS{bInterfaceClass}=="03", ENV{DISPLAY}=":0.0" RUN+="/bin/su - imanol -c /usr/local/bin/touchpad_disabler"
  5 +ACTION=="remove", ENV{DISPLAY}=":0.0" RUN+="/bin/su - imanol -c /usr/local/bin/touchpad_disabler"
  6 +```
0 7 \ No newline at end of file
... ...