diff options
author | Justine Smithies <justine@smithies.me.uk> | 2024-06-09 14:44:49 +0100 |
---|---|---|
committer | Justine Smithies <justine@smithies.me.uk> | 2024-06-09 14:44:49 +0100 |
commit | 0df0dbd6358b08c1f50d0cedd8c823f08cf662dd (patch) | |
tree | 76dbcdbca4d0bee57532ce3249c26f9440f21026 /.config/eww | |
parent | f36843c1930bf787f37edc3ffedb4be397d734ed (diff) |
used xargs to strip leading spaces from result
Diffstat (limited to '.config/eww')
-rwxr-xr-x | .config/eww/scripts/start.sh | 2 |
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} |