Fix resolution script
Signed-off-by: Severin Kaderli <severin@kaderli.dev>
This commit is contained in:
parent
f450e6bc92
commit
0c519c15fe
2 changed files with 39 additions and 39 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue