more compact weather line
This commit is contained in:
parent
49441a6d9c
commit
8ccdd94d0b
1 changed files with 3 additions and 3 deletions
|
@ -87,13 +87,13 @@ if [ -n "$current" ] && [ -n "$forecast" ]; then
|
||||||
|
|
||||||
if [ "$current_temp" -gt "$forecast_temp" ]; then
|
if [ "$current_temp" -gt "$forecast_temp" ]; then
|
||||||
trend="getting colder"
|
trend="getting colder"
|
||||||
echo "now $(get_icon "$current_icon") $current_text $current_temp($current_feels)$SYMBOL, later $(get_icon "$forecast_icon") $forecast_temp($forecast_feels)$SYMBOL"
|
echo "$current_text $(get_icon "$current_icon") $current_temp($current_feels)$SYMBOL => $(get_icon "$forecast_icon") $forecast_temp($forecast_feels)$SYMBOL"
|
||||||
elif [ "$forecast_temp" -gt "$current_temp" ]; then
|
elif [ "$forecast_temp" -gt "$current_temp" ]; then
|
||||||
trend="getting warmer"
|
trend="getting warmer"
|
||||||
echo "now $(get_icon "$current_icon") $current_text $current_temp($current_feels)$SYMBOL, later $(get_icon "$forecast_icon") $forecast_temp($forecast_feels)$SYMBOL"
|
echo "$current_text $(get_icon "$current_icon") $current_temp($current_feels)$SYMBOL => $(get_icon "$forecast_icon") $forecast_temp($forecast_feels)$SYMBOL"
|
||||||
else
|
else
|
||||||
trend="stable weather"
|
trend="stable weather"
|
||||||
echo "now $(get_icon "$current_icon") $current_text $current_temp($current_feels)$SYMBOL, the same later"
|
echo "$current_text $(get_icon "$current_icon") $current_temp($current_feels)$SYMBOL"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue