From 62ee2165fdfb03f704950d142fe90d701d9aa64a Mon Sep 17 00:00:00 2001 From: ankurdhama Date: Sun, 14 Aug 2022 12:08:26 +0530 Subject: [PATCH] Added primary in case of single display selection --- monitor_layout.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monitor_layout.sh b/monitor_layout.sh index e51b3bb..76ee6b4 100755 --- a/monitor_layout.sh +++ b/monitor_layout.sh @@ -15,7 +15,7 @@ function gen_xrandr_only() { selected=$1 - cmd="xrandr --output ${MONITORS[$selected]} --auto " + cmd="xrandr --output ${MONITORS[$selected]} --auto --primary" for entry in $(seq 0 $((${NUM_MONITORS}-1))) do