mirror of https://github.com/lcpz/lain.git
enhancement: unique timers for widgets; #114
This commit is contained in:
parent
b9bca04108
commit
6457c4d2c3
|
@ -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