Change to a two monitor layout by default
This commit is contained in:
parent
b11d0005e9
commit
569209e764
|
@ -2,11 +2,10 @@
|
|||
|
||||
|
||||
case "$SRANDRD_ACTION" in
|
||||
"HDMI1 connected") xrandr --output HDMI1 --auto
|
||||
xrandr --output eDP1 --off
|
||||
"HDMI1 connected") xrandr --output HDMI1 --auto --right-of eDP1
|
||||
xinput --map-to-output $(xinput list --id-only "ELAN Touchscreen") eDP1
|
||||
pacmd set-default-sink 0;;
|
||||
"HDMI1 disconnected") xrandr --output HDMI1 --off
|
||||
xrandr --output eDP1 --auto
|
||||
"HDMI1 disconnected") xrandr --output HDMI1 --off --output eDP1 --auto
|
||||
pacmd set-default-sink 1;;
|
||||
esac
|
||||
|
||||
|
|
Loading…
Reference in New Issue