Update display configuration for new monitor
Signed-off-by: Severin Kaderli <severin@kaderli.dev>
This commit is contained in:
parent
1c9fd337a6
commit
fe638c892b
1 changed files with 4 additions and 4 deletions
|
@ -18,19 +18,19 @@ xrandr --listproviders | grep -q "modesetting" && xrandr --setprovideroutputsour
|
|||
xrandr --dpi 96
|
||||
|
||||
if is-connected "HDMI1"; then
|
||||
xrandr --output HDMI1 --mode 1280x1024 --left-of eDP1
|
||||
xrandr --output HDMI1 --mode 1920x1200 --left-of eDP1
|
||||
else
|
||||
xrandr --output HDMI1 --off > /dev/null 2>&1
|
||||
fi
|
||||
|
||||
if is-connected "HDMI-1-1"; then
|
||||
xrandr --output HDMI-1-1 --mode 1280x1024 --left-of eDP-1-1
|
||||
xrandr --output HDMI-1-1 --mode 1920x1200 --left-of eDP-1-1
|
||||
else
|
||||
xrandr --output HDMI-1-1 --off > /dev/null 2>&1
|
||||
fi
|
||||
|
||||
xrandr --output eDP1 --primary --mode 1920x1080 --pos 1280x0 --rotate normal
|
||||
xrandr --output eDP-1-1 --primary --mode 1920x1080 --pos 1280x0 --rotate normal
|
||||
xrandr --output eDP1 --primary --mode 1920x1080 --pos 1920x0 --rotate normal
|
||||
xrandr --output eDP-1-1 --primary --mode 1920x1080 --pos 1920x0 --rotate normal
|
||||
|
||||
if is-connected "DVI-I-1-1"; then
|
||||
xrandr --output DVI-I-1-1 --mode 1920x1080 --left-of eDP1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue