From bb7cea7f42643c3d295c7877659b64b4fc29e3d1 Mon Sep 17 00:00:00 2001 From: Chris Down Date: Fri, 15 Mar 2024 10:52:59 +0000 Subject: [PATCH] xr: On external-*, consider the external the primary --- bin/xr | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/xr b/bin/xr index 1d514d1c..7f8aef40 100755 --- a/bin/xr +++ b/bin/xr @@ -81,8 +81,8 @@ case $1 in direction="${1#external-}" [[ $direction == right || $direction == left ]] && direction+=-of - xrandr --output "$main_display" --auto --primary - xrandr --output "${external_displays[0]}" --"$direction" "$main_display" --auto + xrandr --output "$main_display" --auto + xrandr --output "${external_displays[0]}" --"$direction" "$main_display" --auto --primary ;; tv) xrandr --output "$main_display" --auto --primary