Switched machines. Correcting display names, disabling touchscreen mapping
This commit is contained in:
parent
95a9b991d1
commit
400bed77d7
|
@ -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
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in New Issue