yawn: fair/windy icon added

This commit is contained in:
Luke Bonham 2015-04-13 11:49:13 +02:00
parent 422c9387f1
commit 161abc46ab
1 changed files with 4 additions and 4 deletions

View File

@ -102,10 +102,10 @@ function yawn.fetch_weather()
local hour = tonumber(os.date("%H")) local hour = tonumber(os.date("%H"))
sky = icon_path sky = icon_path
if forecast == "Clear" or if string.find(forecast, "Clear") or
forecast == "Fair" or string.find(forecast, "Fair") or
forecast == "Partly Cloudy" or string.find(forecast, "Partly Cloudy") or
forecast == "Mostly Cloudy" string.find(forecast, "Mostly Cloudy")
then then
if hour >= 6 and hour <= 18 if hour >= 6 and hour <= 18
then then