From 54163f097c0c84ce9aa3bbe821713d1890c5879f Mon Sep 17 00:00:00 2001 From: David Thurstenson Date: Fri, 4 Nov 2016 09:33:27 -0500 Subject: [PATCH] Update display names for touchscreen mapping --- .config/srandrd.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.config/srandrd.conf b/.config/srandrd.conf index ef8619e..97508a8 100755 --- a/.config/srandrd.conf +++ b/.config/srandrd.conf @@ -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