formatting: {} around 'native' on line25

This commit is contained in:
Iris Lightshard 2020-08-05 01:03:42 -04:00
parent def1287dc7
commit 51f0252b25
Signed by: Iris Lightshard
GPG key ID: 3B7FBC22144E6398

View file

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