no icon where forecast is unavailable
This commit is contained in:
parent
7e3da16262
commit
68764b514b
1 changed files with 2 additions and 0 deletions
|
@ -39,6 +39,8 @@ forecast_unicode()
|
||||||
echo '☂'
|
echo '☂'
|
||||||
elif [[ (($forecast =~ 'Overcast') || ($forecast =~ 'Cloud')) ]]; then
|
elif [[ (($forecast =~ 'Overcast') || ($forecast =~ 'Cloud')) ]]; then
|
||||||
echo '☁'
|
echo '☁'
|
||||||
|
elif [[ $forecast = 'NA' ]]; then
|
||||||
|
echo ''
|
||||||
else
|
else
|
||||||
echo '☀'
|
echo '☀'
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue