Dynamically get xinput id for touchscreen to map output

This commit is contained in:
David Thurstenson 2016-06-01 08:33:00 -05:00
parent fefe298d1a
commit b11d0005e9
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ if [ "$(hostname)" == "dtarchaio" ]; then
# Set the bell to be different from Matt's
xset b 75 750 50
# Set Touchscreen to only work on main display
xinput --map-to-output 10 eDP1
xinput --map-to-output $(xinput list --id-only "Advanced Silicon S.A CoolTouch(TM) System") eDP1
fi
# If numlockx is installed, activate it