From 28c0ab6294c6dce67577294b02062a2aa5916d37 Mon Sep 17 00:00:00 2001 From: Bryan Jenks Date: Sat, 9 May 2020 05:40:02 -0700 Subject: [PATCH] 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 --- .local/bin/statusbar/crypto | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.local/bin/statusbar/crypto b/.local/bin/statusbar/crypto index 153e2fe..2e37f13 100755 --- 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 ;}