summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2013-08-30 00:16:46 -0400
committerJesse Luehrs <doy@tozt.net>2013-08-30 00:17:00 -0400
commit9472d21215dab9b87b9d521d77559819d3dd73cb (patch)
tree6110d55cd8655a25788801681b9deffd3043c022 /bin
parent03344c177fb47ef341264a23f49e4a06164a9ec0 (diff)
downloadconf-9472d21215dab9b87b9d521d77559819d3dd73cb.tar.gz
conf-9472d21215dab9b87b9d521d77559819d3dd73cb.zip
couple more tweaks to the weather script
Diffstat (limited to 'bin')
-rwxr-xr-xbin/weather5
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")),
);