X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/272844030a05df1807406245b84930ea4740e61b..a00417d8011690d977cbdab1f1378ec369e5f355:/widgets/weather.lua diff --git a/widgets/weather.lua b/widgets/weather.lua index 32e3065..ff86d7e 100644 --- a/widgets/weather.lua +++ b/widgets/weather.lua @@ -160,8 +160,8 @@ local function worker(args) weather.attach(weather.widget) - newtimer("weather-" .. city_id, timeout, weather.update) - newtimer("weather_forecast-" .. city_id, timeout, weather.forecast_update) + weather.timer = newtimer("weather-" .. city_id, timeout, weather.update, false, true) + weather.timer_forecast = newtimer("weather_forecast-" .. city_id, timeout, weather.forecast_update, false, true) return setmetatable(weather, { __index = weather.widget }) end