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 ;;