Changed the way the buttons get assignd, now it finds out which stylus is present and then applies changes to that one.

This commit is contained in:
Jorge Vasquez
2017-08-01 20:14:16 -07:00
parent 003f6f2f48
commit 2a04659738
+2 -1
View File
@@ -1,7 +1,8 @@
#casa
#wacom_id=10
#makine
wacom_id="Wacom Intuos Pro M Pen stylus"
#wacom_id="Wacom Intuos Pro M Pen stylus"
wacom_id=$(xsetwacom --list devices | grep stylus | grep -o [0-9].)
xsetwacom --set "$wacom_id" button 2 3
xsetwacom --set "$wacom_id" button 3 2