aboutsummaryrefslogtreecommitdiff
path: root/yoga/bin
diff options
context:
space:
mode:
Diffstat (limited to 'yoga/bin')
-rwxr-xr-xyoga/bin/setmonitor2
1 files changed, 1 insertions, 1 deletions
diff --git a/yoga/bin/setmonitor b/yoga/bin/setmonitor
index f9fa5c1..33aeff9 100755
--- a/yoga/bin/setmonitor
+++ b/yoga/bin/setmonitor
@@ -10,7 +10,7 @@ if [ $# -ne 2 ]; then
fi
MONITORS="$(xrandr --listactivemonitors | tail -n +2 | cut -d'+' -f2 | cut -d' ' -f1 | sed 's/^\*//')"
-EXTERNAL_MONITORS="$(echo $MONITORS | tr ' ' '\n' | grep -v eDP)"
+EXTERNAL_MONITORS="$(echo $MONITORS | tr ' ' '\n' | grep -v eDP || true)"
# Usage: brightness MONITOR
brightness () {