Switched machines. Correcting display names, disabling touchscreen mapping

This commit is contained in:
David Thurstenson 2017-05-25 16:30:16 -05:00
parent 95a9b991d1
commit 400bed77d7
1 changed files with 4 additions and 4 deletions

View File

@ -36,17 +36,17 @@ case "$(hostname)" in
"dtarchaio") "dtarchaio")
tsid="USBest Technology SiS HID Touch Controller" tsid="USBest Technology SiS HID Touch Controller"
mainoutput="eDP1" mainoutput="DP1"
hdmi="HDMI1" hdmi="HDMI2"
case "$SRANDRD_ACTION" in case "$SRANDRD_ACTION" in
"$hdmi connected") "$hdmi connected")
xrandr --output $mainoutput --auto --output $hdmi --right-of $mainoutput xrandr --output $mainoutput --auto --output $hdmi --right-of $mainoutput
maptouchscreen "$tsid" "$mainoutput" #maptouchscreen "$tsid" "$mainoutput"
;; ;;
"$hdmi disconnected") "$hdmi disconnected")
xrandr --output $mainoutput --auto xrandr --output $mainoutput --auto
maptouchscreen "$tsid" "$mainoutput" #maptouchscreen "$tsid" "$mainoutput"
;; ;;
esac esac
;; ;;