Update resolution script
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Severin Kaderli <severin@kaderli.dev>
This commit is contained in:
parent
6979290a9f
commit
49b5ad585a
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 1920x1200 --left-of eDP1
|
||||
xrandr --output HDMI1 --primary --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 1920x1200 --left-of eDP-1-1
|
||||
xrandr --output HDMI-1-1 --primary --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 1920x0 --rotate normal
|
||||
xrandr --output eDP-1-1 --primary --mode 1920x1080 --pos 1920x0 --rotate normal
|
||||
xrandr --output eDP1 --mode 1920x1080 --pos 1920x0 --rotate normal
|
||||
xrandr --output eDP-1-1 --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