X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/8d3868d7ce528cfc075e246c8935bae2724e0868..586c54a25750fd90d91c15ac8eb818b2613de582:/widget/pulsebar.lua diff --git a/widget/pulsebar.lua b/widget/pulsebar.lua index fede5ba..caaffdc 100644 --- a/widget/pulsebar.lua +++ b/widget/pulsebar.lua @@ -33,7 +33,7 @@ local pulsebar = { _muted = false } -local function worker(args) +local function factory(args) local args = args or {} local timeout = args.timeout or 5 local settings = args.settings or function() end @@ -145,4 +145,4 @@ local function worker(args) return pulsebar end -return setmetatable(pulsebar, { __call = function(_, ...) return worker(...) end }) +return setmetatable(pulsebar, { __call = function(_, ...) return factory(...) end })