Created
June 1, 2019 12:56
-
-
Save gregtaole/297a9c31087ed605cd2967428c470e0b to your computer and use it in GitHub Desktop.
Wacom tablet udev rules
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ACTION=="add", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0302", ENV{DISPLAY}=":0", ENV{XAUTHORITY}="/home/dinervoid/.Xauthority", RUN+="/home/dinervoid/.config/wacom/mapping.sh" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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