From 51f0252b25fe06c8c949ceb17d6accd7b4e2bd7b Mon Sep 17 00:00:00 2001 From: Derek Stevens Date: Wed, 5 Aug 2020 01:03:42 -0400 Subject: [PATCH] formatting: {} around 'native' on line25 --- extdisplay.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extdisplay.sh b/extdisplay.sh index 7041e06..60c3ded 100755 --- a/extdisplay.sh +++ b/extdisplay.sh @@ -22,7 +22,7 @@ if [ -z $1 ]; then fi native=xrandr | grep LVDS | awk '{print $1}' -plugged=xrandr | grep connected | grep -v $native | awk '{print $1}' +plugged=xrandr | grep connected | grep -v ${native} | awk '{print $1}' if [ "$1" = solo ]; then xrandr --output ${plugged} --primary