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

master
Jorge Vasquez 8 years ago
parent 003f6f2f48
commit 2a04659738

@ -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

Loading…
Cancel
Save