summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoe <bousset.rudy@gmail.com>2022-08-18 17:21:31 +0200
committerJoe <bousset.rudy@gmail.com>2022-08-18 17:21:31 +0200
commit72b99d62e1f1cc5187630ae3cfc35b12a59c0430 (patch)
tree3cd4e9596feee9ff2f07072a74c0498d216c7908
parentudpate (diff)
downloaddotfiles-bsd-72b99d62e1f1cc5187630ae3cfc35b12a59c0430.tar.gz
dotfiles-bsd-72b99d62e1f1cc5187630ae3cfc35b12a59c0430.tar.bz2
dotfiles-bsd-72b99d62e1f1cc5187630ae3cfc35b12a59c0430.tar.xz
dotfiles-bsd-72b99d62e1f1cc5187630ae3cfc35b12a59c0430.tar.zst
dotfiles-bsd-72b99d62e1f1cc5187630ae3cfc35b12a59c0430.zip
update
-rwxr-xr-x.local/bin/status/sb-forecast4
1 files changed, 2 insertions, 2 deletions
diff --git a/.local/bin/status/sb-forecast b/.local/bin/status/sb-forecast
index 49ef4f4..b022048 100755
--- a/.local/bin/status/sb-forecast
+++ b/.local/bin/status/sb-forecast
@@ -15,8 +15,8 @@ getweather() {
printf "%s%s %s" \
"$(cat $weatherglyph)" \
"$(cat $moonglyph)" \
- "$(sed '16q;d' "$weatherreport" | grep -wo "[0-9]*%" | sort -rn | sed "s/^//g;1q" | tr -d '\n')"
+ "$(sed '16q;d' "$weatherreport" | grep -wo "[0-9]*%" | sort -rn | sed "s/^/ /g;1q" | tr -d '\n')"
sed '13q;d' "$weatherreport" | grep -o "m\\([-+]\\)*[0-9]\\+" | sed 's/+//g' |
sort -n -t 'm' -k 2n | sed -e 1b -e '$!d' | tr '\n|m' ' ' |
- awk '{print " " $1 "/" $2 "°C" moon}'
+ awk '{print "  " $1 "/" $2 "°C" moon}'