Update display names for touchscreen mapping

This commit is contained in:
David Thurstenson 2016-11-04 09:33:27 -05:00
parent 63ca6497ee
commit 54163f097c
1 changed files with 2 additions and 2 deletions

View File

@ -3,10 +3,10 @@
case "$SRANDRD_ACTION" in
"HDMI-1 connected") xrandr --output HDMI-1 --auto --right-of eDP-1
xinput --map-to-output $(xinput list --id-only "ELAN Touchscreen") eDP1
xinput --map-to-output $(xinput list --id-only "ELAN Touchscreen") eDP-1
pacmd set-default-sink 0;;
"HDMI-1 disconnected") xrandr --output HDMI-1 --off --output eDP-1 --auto
xinput --map-to-output $(xinput list --id-only "ELAN Touchscreen") eDP1
xinput --map-to-output $(xinput list --id-only "ELAN Touchscreen") eDP-1
pacmd set-default-sink 1;;
esac