diff options
author | Jesse Luehrs <doy@tozt.net> | 2013-08-30 00:16:46 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2013-08-30 00:17:00 -0400 |
commit | 9472d21215dab9b87b9d521d77559819d3dd73cb (patch) | |
tree | 6110d55cd8655a25788801681b9deffd3043c022 /bin | |
parent | 03344c177fb47ef341264a23f49e4a06164a9ec0 (diff) | |
download | conf-9472d21215dab9b87b9d521d77559819d3dd73cb.tar.gz conf-9472d21215dab9b87b9d521d77559819d3dd73cb.zip |
couple more tweaks to the weather script
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/weather | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/weather b/bin/weather index 2488896..b5fe67c 100755 --- a/bin/weather +++ b/bin/weather @@ -15,6 +15,7 @@ my %weather_pics = ( 'Thunderstorm' => "\x{26a1}", 'Rain' => "\x{2614}", 'Partly Cloudy' => "\x{2601}", + 'Mostly Cloudy' => "\x{2601}", 'Scattered Clouds' => "\x{2601}", 'Overcast' => "\x{2601}", 'Clear' => "\x{2600}", @@ -43,9 +44,9 @@ say join(' ', $weather, "${temp}F", (($feelslike != $temp) - ? ("(\x{2252}${feelslike}F)") + ? ("(\x{2245}${feelslike}F)") : ()), - (($time->hour > 16 || $time->hour < 4) + (($time->hour > 16 || $time->hour <= 4) ? ("\x{2193}${low}F") : ("\x{2191}${high}F")), ); |