From 92019ccecac6123066664374d3862e9fa3433c1d Mon Sep 17 00:00:00 2001 From: jorgevasquezp Date: Mon, 23 Sep 2019 13:04:41 -0700 Subject: [PATCH] fixed the wacom script, to match new xsetwacom standards --- bash/fix_wacom.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/bash/fix_wacom.sh b/bash/fix_wacom.sh index d48fbf5..061d29d 100755 --- a/bash/fix_wacom.sh +++ b/bash/fix_wacom.sh @@ -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