aboutsummaryrefslogtreecommitdiff
path: root/.config/eww/scripts/start.sh
diff options
context:
space:
mode:
Diffstat (limited to '.config/eww/scripts/start.sh')
-rwxr-xr-x.config/eww/scripts/start.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/.config/eww/scripts/start.sh b/.config/eww/scripts/start.sh
index 1e5c023..628fa77 100755
--- a/.config/eww/scripts/start.sh
+++ b/.config/eww/scripts/start.sh
@@ -4,7 +4,7 @@
eww kill
# start a bar for each monitor
-monitors=$(wlr-randr | grep "^[^ ]" | awk '{ print$1 }' | wc -l)
+monitors=$(wlr-randr | grep "^[^ ]" | awk '{ print$1 }' | wc -l | xargs)
for ((i = 0 ; i < $monitors ; i++)); do
eww open bar${i}