Dynamically get xinput id for touchscreen to map output
This commit is contained in:
parent
fefe298d1a
commit
b11d0005e9
2
.xinitrc
2
.xinitrc
|
@ -41,7 +41,7 @@ if [ "$(hostname)" == "dtarchaio" ]; then
|
||||||
# Set the bell to be different from Matt's
|
# Set the bell to be different from Matt's
|
||||||
xset b 75 750 50
|
xset b 75 750 50
|
||||||
# Set Touchscreen to only work on main display
|
# 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
|
fi
|
||||||
|
|
||||||
# If numlockx is installed, activate it
|
# If numlockx is installed, activate it
|
||||||
|
|
Loading…
Reference in New Issue