Merge branch 'dev' into thesis

scripts: add mode variable to xrandr setup
This commit is contained in:
David JULIEN 2022-11-22 10:33:04 +01:00
commit a9ae482b32
No known key found for this signature in database
GPG Key ID: 1DD6B2BA6DD78810

View File

@ -52,8 +52,9 @@ default() {
}
setup() {
[ -z "$mode" ] && mode="auto"
xrandr --output "$primary" --auto --scale 1.0x1.0 \
--output "$secondary" --"$direction"-of "$primary" --auto
--output "$secondary" --"$direction"-of "$primary" --$mode
}
morescreen() { # If multi-monitor is selected and there are more than two screens.