X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/5fc544049aa9a70df55907c8171703604aec7b26..f6cc2aedd67c1b63f14b8975ccb9a815d04117f6:/widgets/alsa.lua?ds=sidebyside diff --git a/widgets/alsa.lua b/widgets/alsa.lua index a356892..979d9fd 100644 --- a/widgets/alsa.lua +++ b/widgets/alsa.lua @@ -60,7 +60,9 @@ local function worker(args) settings() end - newtimer("alsa", timeout, alsa.update) + timer_id = string.format("alsa-%s-%s", alsa.cmd, alsa.channel) + + newtimer(timer_id, timeout, alsa.update) return setmetatable(alsa, { __index = alsa.widget }) end