From 1d9fc97dcf5404f6ff2e254cf49545e89b9f9c36 Mon Sep 17 00:00:00 2001 From: David JULIEN Date: Thu, 17 Nov 2022 18:15:18 +0100 Subject: [PATCH] [scripts] fix: displayselect layout selection --- .local/bin/displayselect | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.local/bin/displayselect b/.local/bin/displayselect index aa467aa..3c58a34 100755 --- a/.local/bin/displayselect +++ b/.local/bin/displayselect @@ -78,7 +78,7 @@ allposs=$(xrandr -q | grep -w "connected") screens=$(echo "$allposs" | awk '{print $1}') # Get user choice including multi-monitor and manual selection: -chosen=$(printf "default\\n\\nmulti-monitor\\n%s\\nmanual selection" "$screens" | dmenu -i -p "Select display arangement:") && +chosen=$(printf "default\\nmulti-monitor\\n%s\\nmanual selection" "$screens" | dmenu -i -p "Select display arangement:") && case "$chosen" in "default") default ;; "manual selection") arandr ; exit ;;