no icon where forecast is unavailable

This commit is contained in:
Dane Williams 2020-03-15 12:21:58 -07:00
parent 7e3da16262
commit 68764b514b
1 changed files with 2 additions and 0 deletions

View File

@ -39,6 +39,8 @@ forecast_unicode()
echo '☂'
elif [[ (($forecast =~ 'Overcast') || ($forecast =~ 'Cloud')) ]]; then
echo '☁'
elif [[ $forecast = 'NA' ]]; then
echo ''
else
echo '☀'
fi