diff --git a/nixos/i3/openweathermap-fullfeatured.sh b/nixos/i3/openweathermap-fullfeatured.sh index abd8c65f..10319348 100755 --- a/nixos/i3/openweathermap-fullfeatured.sh +++ b/nixos/i3/openweathermap-fullfeatured.sh @@ -87,11 +87,13 @@ if [ -n "$current" ] && [ -n "$forecast" ]; then if [ "$current_temp" -gt "$forecast_temp" ]; then 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" elif [ "$forecast_temp" -gt "$current_temp" ]; then 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" else trend="stable weather" + echo "now $(get_icon "$current_icon") $current_text $current_temp($current_feels)$SYMBOL, the same later" fi - echo "now $(get_icon "$current_icon") $current_text $current_temp($current_feels)$SYMBOL, later $(get_icon "$forecast_icon") $forecast_temp($forecast_feels)$SYMBOL" fi