X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/d1e810f2fc4620f8b3c278d57506c47360a77b0c..2119b79449f73828eae44ecaa762c2daf52de394:/widgets/weather.lua diff --git a/widgets/weather.lua b/widgets/weather.lua index d1624fa..77d9b9b 100644 --- a/widgets/weather.lua +++ b/widgets/weather.lua @@ -121,8 +121,8 @@ local function worker(args) weather.attach(weather.widget) - newtimer("weather", timeout, weather.update) - newtimer("weather_forecast", timeout, weather.forecast_update) + newtimer("weather-" .. city_id, timeout, weather.update) + newtimer("weather_forecast" .. city_id, timeout, weather.forecast_update) return setmetatable(weather, { __index = weather.widget }) end