diff options
| author | Luke Smith <luke@lukesmith.xyz> | 2020-05-25 17:06:24 -0400 |
|---|---|---|
| committer | Luke Smith <luke@lukesmith.xyz> | 2020-05-25 17:06:24 -0400 |
| commit | c075127aaee99d072fdb887c0986fd6dc5c8c533 (patch) | |
| tree | 0e5fd1876bfc55219c85a240970a654341a4c046 /.local/bin/statusbar/crypto | |
| parent | 99a7d1dd9849cf3d0da74e88978f777299196140 (diff) | |
| download | eibhear-c075127aaee99d072fdb887c0986fd6dc5c8c533.tar.gz eibhear-c075127aaee99d072fdb887c0986fd6dc5c8c533.tar.zst eibhear-c075127aaee99d072fdb887c0986fd6dc5c8c533.zip | |
no spaces between icons and content
Diffstat (limited to '.local/bin/statusbar/crypto')
| -rwxr-xr-x | .local/bin/statusbar/crypto | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.local/bin/statusbar/crypto b/.local/bin/statusbar/crypto index 2e37f13..bb19fc9 100755 --- a/.local/bin/statusbar/crypto +++ b/.local/bin/statusbar/crypto @@ -28,8 +28,8 @@ printprices() { # Print/format all prices for x in "$dir"/*; do [ -f "$x" ] || break info="$(cut -d';' -f-2 --output-delimiter=' ' "$x")" - printf "%s $%0.2f " $info - done | sed "s/ $/\n/" + printf "%s$%0.2f " $info + done | sed 's/ $/\n/' } [ ! -d "$dir" ] && mkdir -p "$dir" && { getprices; exit ;} |
