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:
parent
26c92f886b
commit
28c0ab6294
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ printprices() { # Print/format all prices
|
||||||
[ -f "$x" ] || break
|
[ -f "$x" ] || break
|
||||||
info="$(cut -d';' -f-2 --output-delimiter=' ' "$x")"
|
info="$(cut -d';' -f-2 --output-delimiter=' ' "$x")"
|
||||||
printf "%s $%0.2f " $info
|
printf "%s $%0.2f " $info
|
||||||
done | sed 's/ $//'
|
done | sed "s/ $/\n/"
|
||||||
}
|
}
|
||||||
|
|
||||||
[ ! -d "$dir" ] && mkdir -p "$dir" && { getprices; exit ;}
|
[ ! -d "$dir" ] && mkdir -p "$dir" && { getprices; exit ;}
|
||||||
|
|
Loading…
Reference in a new issue