summaryrefslogtreecommitdiffstats
path: root/.local/bin/status/sb-forecast
diff options
context:
space:
mode:
authorJoe <bousset.rudy@gmail.com>2022-09-07 09:33:13 +0200
committerJoe <bousset.rudy@gmail.com>2022-09-07 09:33:13 +0200
commitd3eea768d0c7c79f867eed32897e67bbb158d60f (patch)
tree2d4e52c87f032ed3616047e98c4b2eeb68e5d7c1 /.local/bin/status/sb-forecast
parentfix (diff)
downloaddotfiles-bsd-d3eea768d0c7c79f867eed32897e67bbb158d60f.tar.gz
dotfiles-bsd-d3eea768d0c7c79f867eed32897e67bbb158d60f.tar.bz2
dotfiles-bsd-d3eea768d0c7c79f867eed32897e67bbb158d60f.tar.xz
dotfiles-bsd-d3eea768d0c7c79f867eed32897e67bbb158d60f.tar.zst
dotfiles-bsd-d3eea768d0c7c79f867eed32897e67bbb158d60f.zip
up
Diffstat (limited to '.local/bin/status/sb-forecast')
-rwxr-xr-x.local/bin/status/sb-forecast2
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/status/sb-forecast b/.local/bin/status/sb-forecast
index c615161..2baf81d 100755
--- a/.local/bin/status/sb-forecast
+++ b/.local/bin/status/sb-forecast
@@ -9,7 +9,7 @@ weatherglyph=$(curl -sf "wttr.in/Lyon?format=%c" 2>&1 || exit 1) # >$weatherglyp
moonglyph=$(curl -sf "wttr.in/?format=%m" 2>&1 || exit 1) # >$moonglyph || exit 1
printf "%s%s" \
- "$(echo "$weatherglyph ")" \
+ "$(echo "$weatherglyph")" \
"$(echo "$weatherreport" | sed '16q;d' | grep -wo "[0-9]*%" | sort -rn | sed "s/^/ /g;1q" | tr -d '\n')"
echo "$weatherreport" | sed '13q;d' | grep -o "m\\([-+]\\)*[0-9]\\+" | sed 's/+//g' |