Files
my_scripts/bash/fix_wacom.sh
T

10 lines
232 B
Bash
Executable File

#casa
#wacom_id=10
#makine
#wacom_id="Wacom Intuos Pro M Pen stylus"
wacom_id=$(xsetwacom --list devices | grep stylus | grep -o [0-9]. | sed 's/\t//')
xsetwacom --set "$wacom_id" button 2 3
xsetwacom --set "$wacom_id" button 3 2