fix: device names change after xorg update

This commit is contained in:
David JULIEN 2021-02-11 23:48:49 +01:00
parent dfd5247c1d
commit 663fd512da
1 changed files with 2 additions and 2 deletions

View File

@ -45,8 +45,8 @@ twoscreen() { # If multi-monitor is selected and there are two screens.
--output "$secondary" --"$direction"-of "$primary" --auto --scale 1.2x1.2 --rotate $rotation
else
xrandr --fb 4224x2376 \
--output "eDP-1" --mode 1920x1080 --pos 2304x0\
--output "HDMI-2" --scale 1.2x1.2 --pos 0x0
--output "eDP1" --mode 1920x1080 --pos 2304x0\
--output "HDMI2" --scale 1.2x1.2 --pos 0x0
fi
fi
}