Switch from one display to the other. I'd rather manually turn on than
manually turn off.
This commit is contained in:
parent
28c51f20c1
commit
56bd198f2f
|
@ -2,7 +2,9 @@
|
|||
|
||||
|
||||
case "$SRANDRD_ACTION" in
|
||||
"HDMI1 connected") xrandr --output HDMI1 --auto --right-of eDP1;;
|
||||
"HDMI1 disconnected") xrandr --output HDMI1 --off;;
|
||||
"HDMI1 connected") xrandr --output HDMI1 --auto
|
||||
xrandr --output eDP1 --off;;
|
||||
"HDMI1 disconnected") xrandr --output HDMI1 --off
|
||||
xrandr --output eDP1 --auto;;
|
||||
esac
|
||||
|
||||
|
|
Loading…
Reference in New Issue