From 72ab769aa6d8406199705eb624caf6c0bab0608d Mon Sep 17 00:00:00 2001 From: Ayo Date: Wed, 17 Sep 2025 10:58:29 +0200 Subject: [PATCH] feat(display): add positioning to center with "middle" subcommand --- display.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/display.sh b/display.sh index 274e079..007df90 100755 --- a/display.sh +++ b/display.sh @@ -33,11 +33,11 @@ function main() { echo "Setting dual display left" xrandr --output "$extern" --primary --auto --right-of "$intern" --output "$intern" --mode 1680x1050 ;; - "center") + "center"|"middle") echo "Setting dual display center" xrandr \ --output "$extern" --auto --above "$intern" \ - --output "$intern" --primary --auto + --output "$intern" --primary --mode 1680x1050 ;; "ultra") echo "Setting single display mode (ultrawide)"