Fix resolution script

Signed-off-by: Severin Kaderli <severin@kaderli.dev>
This commit is contained in:
Severin Kaderli 2019-06-11 17:05:22 +02:00
parent f450e6bc92
commit 0c519c15fe
Signed by: severinkaderli
GPG key ID: F419F8835B72F0C4
2 changed files with 39 additions and 39 deletions

View file

@ -33,13 +33,13 @@ xrandr --output eDP1 --primary --mode 1920x1080 --pos 1280x0 --rotate normal
xrandr --output eDP-1-1 --primary --mode 1920x1080 --pos 1280x0 --rotate normal
if is-connected "DVI-I-1-1"; then
xrandr --output DVI-I-1-1 --off
else
xrandr --output DVI-I-1-1 --mode 1920x1080 --left-of eDP1
else
xrandr --output DVI-I-1-1 --off
fi
if is-connected "DVI-I-2-1"; then
xrandr --output DVI-I-2-1 --off
else
xrandr --output DVI-I-2-1 --mode 1920x1080 --left-of eDP-1-1
else
xrandr --output DVI-I-2-1 --off
fi