2017-07-27 15:05:05 -07:00
|
|
|
#casa
|
|
|
|
|
#wacom_id=10
|
|
|
|
|
#makine
|
2017-08-01 20:14:16 -07:00
|
|
|
#wacom_id="Wacom Intuos Pro M Pen stylus"
|
2018-07-02 10:55:49 -07:00
|
|
|
#wacom_id=$(xsetwacom --list devices | grep stylus | grep -o [0-9]. | sed 's/\t//')
|
2026-09-29 20:45:06 -07:00
|
|
|
#wacom_id=$(xsetwacom --list devices | grep 'stylus' | grep 'id:.[0-9]' -o | grep '[0-9]' -o)
|
|
|
|
|
wacom_id=$(xsetwacom --list devices | grep 'stylus' | grep -E 'id:.[0-9]{1,3}' -o | grep -E '[0-9]{1,3}' -o)
|
|
|
|
|
|
2019-09-23 13:04:41 -07:00
|
|
|
xsetwacom --set "$(($wacom_id + 0))" button 2 3
|
|
|
|
|
xsetwacom --set "$(($wacom_id + 0))" button 3 2
|
2026-09-29 20:45:06 -07:00
|
|
|
xsetwacom --set "$(($wacom_id + 0))" threshold 50
|