From 46cf80a54cc8f04495443b0fbd425964ba385c0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kier=C3=A1n=20Meinhardt?= Date: Tue, 15 Sep 2020 16:21:52 +0200 Subject: [PATCH] feat(dmenurandr): make only screen the primary screen --- packages/scripts/dmenurandr.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/scripts/dmenurandr.sh b/packages/scripts/dmenurandr.sh index 7d44ffe..24685e6 100755 --- a/packages/scripts/dmenurandr.sh +++ b/packages/scripts/dmenurandr.sh @@ -64,7 +64,7 @@ multimon() { # If only one output available or chosen. onescreen() { - xrandr --output "$1" --auto --scale 1.0x1.0 $(echo "$allposs" | grep -v "$1" | awk '{print "--output", $1, "--off"}' | paste -sd ' ') + xrandr --output "$1" --auto --primary --scale 1.0x1.0 $(echo "$allposs" | grep -v "$1" | awk '{print "--output", $1, "--off"}' | paste -sd ' ') } # Get all possible displays