mirror of https://github.com/lcpz/lain.git
enhancement: unique timers for widgets; #114
This commit is contained in:
parent
b92942b0e0
commit
fb358dcd04
|
@ -168,7 +168,7 @@ local function worker(args)
|
||||||
|
|
||||||
timer_id = string.format("alsabar-%s-%s", alsabar.cmd, alsabar.channel)
|
timer_id = string.format("alsabar-%s-%s", alsabar.cmd, alsabar.channel)
|
||||||
|
|
||||||
newtimer(timer_id, timeout, alsa.update)
|
newtimer(timer_id, timeout, alsabar.update)
|
||||||
|
|
||||||
return alsabar
|
return alsabar
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue