mirror of https://github.com/lcpz/lain.git
Merge pull request #435 from razamatan/master
pulsebar: as timer ID, use devicetype and device instead of sink (nil var)
This commit is contained in:
commit
e8a34ec0e7
|
@ -154,7 +154,7 @@ local function factory(args)
|
|||
end)
|
||||
end
|
||||
|
||||
helpers.newtimer(string.format("pulsebar-%s", pulsebar.sink), timeout, pulsebar.update)
|
||||
helpers.newtimer(string.format("pulsebar-%s-%s", pulsebar.devicetype, pulsebar.device), timeout, pulsebar.update)
|
||||
|
||||
return pulsebar
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue