X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/e165a3c28990a642f2f8e69d7985752ad60d6de6..f6cc2aedd67c1b63f14b8975ccb9a815d04117f6:/widgets/weather.lua?ds=sidebyside 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