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
This commit is contained in:
Bryan Jenks 2020-05-09 05:40:02 -07:00 committed by GitHub
parent 26c92f886b
commit 28c0ab6294
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 ;}