commit 28c0ab6294c6dce67577294b02062a2aa5916d37
parent 26c92f886bb1b52b750727f66c4b5cf2ae910bac
Author: Bryan Jenks <bryanjenks@protonmail.com>
Date: Sat, 9 May 2020 05:40:02 -0700
new line needed to work on i3 (#621)
i was fiddling with the block settings and couldnt get it to display on i3 until i just added the new line. also tested on the dwm build, module acts as it should on dem with this change
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.local/bin/statusbar/crypto b/.local/bin/statusbar/crypto
@@ -29,7 +29,7 @@ printprices() { # Print/format all prices
[ -f "$x" ] || break
info="$(cut -d';' -f-2 --output-delimiter=' ' "$x")"
printf "%s $%0.2f " $info
- done | sed 's/ $//'
+ done | sed "s/ $/\n/"
}
[ ! -d "$dir" ] && mkdir -p "$dir" && { getprices; exit ;}