summaryrefslogtreecommitdiffstats
path: root/bin/hush/weather
diff options
context:
space:
mode:
Diffstat (limited to 'bin/hush/weather')
-rwxr-xr-xbin/hush/weather2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/hush/weather b/bin/hush/weather
index 6d762d7..90816d2 100755
--- a/bin/hush/weather
+++ b/bin/hush/weather
@@ -46,7 +46,7 @@ my $precip = int($data->{hourly}{data}[0]{precipProbability} * 100);
say join(' ',
"$precip%",
- $weather_pics{$data->{minutely}{icon}} // "?",
+ $weather_pics{$data->{minutely}{icon} // $data->{hourly}{data}[0]{icon}} // "?",
"${temp}${temp_unit}",
(($feelslike_temp != $temp)
? ("(\x{2245}${feelslike_temp}${temp_unit})")