diff --git a/bash/fix_wacom.sh b/bash/fix_wacom.sh index 3feac92..4094e32 100755 --- a/bash/fix_wacom.sh +++ b/bash/fix_wacom.sh @@ -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