X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/e165a3c28990a642f2f8e69d7985752ad60d6de6..6457c4d2c3aebf318a53489189cb638c00d291be:/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