fixed the wacom script, to match new xsetwacom standards

This commit is contained in:
jorgevasquezp
2019-09-23 13:04:41 -07:00
parent a0c3bc7435
commit 92019cceca
+2 -4
View File
@@ -4,7 +4,5 @@
#wacom_id="Wacom Intuos Pro M Pen stylus"
#wacom_id=$(xsetwacom --list devices | grep stylus | grep -o [0-9]. | sed 's/\t//')
wacom_id=$(xsetwacom --list devices | grep stylus | grep 'id\: [0-9].' -o | grep [0-9]. -o)
xsetwacom --set "$wacom_id" button 2 3
xsetwacom --set "$wacom_id" button 3 2
xsetwacom --set "$(($wacom_id + 0))" button 2 3
xsetwacom --set "$(($wacom_id + 0))" button 3 2