Skip to content

Instantly share code, notes, and snippets.

@gregtaole
Created June 1, 2019 12:56
Show Gist options
  • Save gregtaole/297a9c31087ed605cd2967428c470e0b to your computer and use it in GitHub Desktop.
Save gregtaole/297a9c31087ed605cd2967428c470e0b to your computer and use it in GitHub Desktop.
Wacom tablet udev rules
ACTION=="add", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0302", ENV{DISPLAY}=":0", ENV{XAUTHORITY}="/home/dinervoid/.Xauthority", RUN+="/home/dinervoid/.config/wacom/mapping.sh"
#!/bin/sh
xsetwacom set "Wacom Intuos PT S Pad pad" Button 1 "key ctrl z"
xsetwacom set "Wacom Intuos PT S Pad pad" Button 9 "key altgr ("
xsetwacom set "Wacom Intuos PT S Pad pad" Button 8 "key altgr )"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment