aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.local/bin/barweather
diff options
context:
space:
mode:
Diffstat (limited to 'dotfiles/.local/bin/barweather')
-rwxr-xr-xdotfiles/.local/bin/barweather2
1 files changed, 1 insertions, 1 deletions
diff --git a/dotfiles/.local/bin/barweather b/dotfiles/.local/bin/barweather
index 3fc7f42..a608b80 100755
--- a/dotfiles/.local/bin/barweather
+++ b/dotfiles/.local/bin/barweather
@@ -12,7 +12,7 @@ update_forecast() {
forecast=$(curl -s wttr.in/"$location"?format=1)
if [ ${#forecast} -lt 30 ]; then
- printf "%s\n" "$forecast" > "$cachefile"
+ printf "%s\n" "$forecast" | sed -e 's/ / /g' > "$cachefile"
fi
}