fix weather trends
This commit is contained in:
parent
e71292029c
commit
e6d2f7d5df
1 changed files with 2 additions and 2 deletions
|
@ -87,9 +87,9 @@ if [ -n "$current" ] && [ -n "$forecast" ]; then
|
||||||
if [ "$current_temp" -gt "$forecast_temp" ]; then
|
if [ "$current_temp" -gt "$forecast_temp" ]; then
|
||||||
trend=""
|
trend=""
|
||||||
elif [ "$forecast_temp" -gt "$current_temp" ]; then
|
elif [ "$forecast_temp" -gt "$current_temp" ]; then
|
||||||
trend=""
|
|
||||||
else
|
|
||||||
trend=""
|
trend=""
|
||||||
|
else
|
||||||
|
trend=""
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "$(get_icon "$current_icon") $current_temp($current_feels)$SYMBOL $trend $(get_icon "$forecast_icon") $forecast_temp($forecast_feels)$SYMBOL"
|
echo "$(get_icon "$current_icon") $current_temp($current_feels)$SYMBOL $trend $(get_icon "$forecast_icon") $forecast_temp($forecast_feels)$SYMBOL"
|
||||||
|
|
Loading…
Reference in a new issue