summaryrefslogtreecommitdiffstats
path: root/.local/bin
diff options
context:
space:
mode:
authorBryan Jenks <bryanjenks@protonmail.com>2020-05-09 05:40:02 -0700
committerGitHub <noreply@github.com>2020-05-09 08:40:02 -0400
commit28c0ab6294c6dce67577294b02062a2aa5916d37 (patch)
tree5e640dc6b6ad28399b29168415165535513656e8 /.local/bin
parent26c92f886bb1b52b750727f66c4b5cf2ae910bac (diff)
downloadeibhear-28c0ab6294c6dce67577294b02062a2aa5916d37.tar.gz
eibhear-28c0ab6294c6dce67577294b02062a2aa5916d37.tar.zst
eibhear-28c0ab6294c6dce67577294b02062a2aa5916d37.zip
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 (limited to '.local/bin')
-rwxr-xr-x.local/bin/statusbar/crypto2
1 files changed, 1 insertions, 1 deletions
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 ;}