diff options
author | Joe <rbo@gmx.us> | 2024-12-24 12:17:13 +0100 |
---|---|---|
committer | Joe <rbo@gmx.us> | 2024-12-24 12:17:13 +0100 |
commit | 88cd0d91863c65f5007da7e06a6fb78b74b050bb (patch) | |
tree | 75e9752229dc5ac8000eac4dc27efffe5adf54c7 /.local/bin/status/sb-forecast | |
parent | up (diff) | |
download | dotfiles-bsd-88cd0d91863c65f5007da7e06a6fb78b74b050bb.tar.gz dotfiles-bsd-88cd0d91863c65f5007da7e06a6fb78b74b050bb.tar.bz2 dotfiles-bsd-88cd0d91863c65f5007da7e06a6fb78b74b050bb.tar.xz dotfiles-bsd-88cd0d91863c65f5007da7e06a6fb78b74b050bb.tar.zst dotfiles-bsd-88cd0d91863c65f5007da7e06a6fb78b74b050bb.zip |
bar update
Diffstat (limited to '')
-rwxr-xr-x | .local/bin/status/sb-forecast | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/status/sb-forecast b/.local/bin/status/sb-forecast index 2baf81d..e3c8f0d 100755 --- a/.local/bin/status/sb-forecast +++ b/.local/bin/status/sb-forecast @@ -8,7 +8,7 @@ weatherreport=$(curl -sf "wttr.in/Lyon" 2>&1 || exit 1) # >$weatherreport || (rm weatherglyph=$(curl -sf "wttr.in/Lyon?format=%c" 2>&1 || exit 1) # >$weatherglyph || exit 1 moonglyph=$(curl -sf "wttr.in/?format=%m" 2>&1 || exit 1) # >$moonglyph || exit 1 -printf "%s%s" \ +printf "^c#83a598^%s%s" \ "$(echo "$weatherglyph")" \ "$(echo "$weatherreport" | sed '16q;d' | grep -wo "[0-9]*%" | sort -rn | sed "s/^/ /g;1q" | tr -d '\n')" |