Update display names for touchscreen mapping
This commit is contained in:
parent
63ca6497ee
commit
54163f097c
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue