summaryrefslogtreecommitdiff
path: root/weather.sh
diff options
context:
space:
mode:
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"