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 '☂'
|
||||
elif [[ (($forecast =~ 'Overcast') || ($forecast =~ 'Cloud')) ]]; then
|
||||
echo '☁'
|
||||
elif [[ $forecast = 'NA' ]]; then
|
||||
echo ''
|
||||
else
|
||||
echo '☀'
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue