From e6d2f7d5dfff224cb95bf9bb7d7c714454412efb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Sat, 26 Sep 2020 13:31:58 +0100 Subject: [PATCH] fix weather trends --- nixos/i3/openweathermap-fullfeatured.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/i3/openweathermap-fullfeatured.sh b/nixos/i3/openweathermap-fullfeatured.sh index 8fae90e8..fb5dbb56 100755 --- a/nixos/i3/openweathermap-fullfeatured.sh +++ b/nixos/i3/openweathermap-fullfeatured.sh @@ -87,9 +87,9 @@ if [ -n "$current" ] && [ -n "$forecast" ]; then if [ "$current_temp" -gt "$forecast_temp" ]; then trend="" elif [ "$forecast_temp" -gt "$current_temp" ]; then - trend="" - else trend="" + else + trend="" fi echo "$(get_icon "$current_icon") $current_temp($current_feels)$SYMBOL $trend $(get_icon "$forecast_icon") $forecast_temp($forecast_feels)$SYMBOL"