Fix spacing, symbols for weather status display
This commit is contained in:
parent
8f7dd2ab05
commit
212ff3c5a3
|
@ -76,7 +76,7 @@ if [ -n "$current" ] && [ -n "$forecast" ]; then
|
||||||
elif [ "$forecast_temp" -gt "$current_temp" ]; then
|
elif [ "$forecast_temp" -gt "$current_temp" ]; then
|
||||||
trend="" # Arrow, up-right slant
|
trend="" # Arrow, up-right slant
|
||||||
else
|
else
|
||||||
trend="壟" # Arrow, left-to-right
|
trend="" # Arrow, left-to-right
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
@ -92,5 +92,5 @@ if [ -n "$current" ] && [ -n "$forecast" ]; then
|
||||||
daytime=" $(get_duration "$((sun_rise-now))")" # Unknown
|
daytime=" $(get_duration "$((sun_rise-now))")" # Unknown
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "$(get_icon "$current_icon") $current_temp$SYMBOL $trend $(get_icon "$forecast_icon") $forecast_temp$SYMBOL $daytime"
|
echo "$(get_icon "$current_icon") $current_temp$SYMBOL $trend $(get_icon "$forecast_icon") $forecast_temp$SYMBOL $daytime"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue