summaryrefslogtreecommitdiffstats
path: root/.local/bin
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2021-03-07 15:07:04 -0500
committerLuke Smith <luke@lukesmith.xyz>2021-03-07 15:07:04 -0500
commit756ac03961513d1baa6d2673fa26ecf2c87f9c6b (patch)
tree670580f704516a84c1801f443a6e3b96e251c94d /.local/bin
parent73b174cedf7ed2046b40b74c82400004898d48b4 (diff)
parent6bbaa969033b6e4d5ae7a18fde754f7323c7e4cb (diff)
downloadeibhear-756ac03961513d1baa6d2673fa26ecf2c87f9c6b.tar.gz
eibhear-756ac03961513d1baa6d2673fa26ecf2c87f9c6b.tar.zst
eibhear-756ac03961513d1baa6d2673fa26ecf2c87f9c6b.zip
Merge branch 'narukeh-master'
Diffstat (limited to '.local/bin')
-rwxr-xr-x.local/bin/statusbar/sb-forecast2
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/statusbar/sb-forecast b/.local/bin/statusbar/sb-forecast
index 6652edd..7b8416e 100755
--- a/.local/bin/statusbar/sb-forecast
+++ b/.local/bin/statusbar/sb-forecast
@@ -14,7 +14,7 @@ getforecast() { curl -sf "wttr.in/$LOCATION" > "$weatherreport" || exit 1 ;}
# display them with coresponding emojis.
showweather() { printf "%s" "$(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]\\+" | sort -n -t 'm' -k 2n | sed -e 1b -e '$!d' | tr '\n|m' ' ' | awk '{print " 🥶" $1 "°","🌞" $2 "°"}' ;}
+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 "°"}' ;}
case $BLOCK_BUTTON in
1) setsid -f "$TERMINAL" -e less -Srf "$weatherreport" ;;