summaryrefslogtreecommitdiff
path: root/weather.sh
diff options
context:
space:
mode:
author53hornet <atc@53hor.net>2021-10-26 08:30:58 -0400
committer53hornet <atc@53hor.net>2021-10-26 08:30:58 -0400
commit88784a46b3f0faf3c85010cbc3e2fe3c26939879 (patch)
treeab2183bdb87f325f377a9caf6e0bc7e867c23af2 /weather.sh
parent7f1adf1900081409214e83a59369967ceaac441f (diff)
downloadscripts-88784a46b3f0faf3c85010cbc3e2fe3c26939879.tar.xz
scripts-88784a46b3f0faf3c85010cbc3e2fe3c26939879.zip
add wallpaper script with display from imagemagick, update dockd
Diffstat (limited to 'weather.sh')
-rwxr-xr-xweather.sh6
1 files changed, 1 insertions, 5 deletions
diff --git a/weather.sh b/weather.sh
index 37089c8..cb6a0ca 100755
--- a/weather.sh
+++ b/weather.sh
@@ -37,18 +37,14 @@ do
;;
esac
- #printf "$ICON"
;;
description*)
- #printf "${line#description }"
DESCRIPTION="${line#description }"
;;
humidity*)
- #printf "󰖎%.2d%% " "${line#humidity }"
HUMIDITY="${line#humidity }"
;;
feels_like*)
- #printf "%2.1f℉ " "${line#feels_like }"
FEELS_LIKE="${line#feels_like }"
;;
esac
@@ -59,4 +55,4 @@ $(fetch -qo - "https://api.openweathermap.org/data/2.5/weather?zip=$ZIP_CODE&uni
| tr ':' ' ')
EOF
-printf "%s%s %2.1f℉ 󰖎%.2d%%\n" "$ICON" "$DESCRIPTION" "$FEELS_LIKE" "$HUMIDITY"
+printf "%s %s %2.1f℉ 󰖎 %.2d%%\n" "$ICON" "$DESCRIPTION" "$FEELS_LIKE" "$HUMIDITY"