X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/8d3868d7ce528cfc075e246c8935bae2724e0868..f4870b8858835726ea6f6562a0a3d7e092425595:/widget/alsabar.lua diff --git a/widget/alsabar.lua b/widget/alsabar.lua index 4386d20..ff14ed6 100644 --- a/widget/alsabar.lua +++ b/widget/alsabar.lua @@ -32,7 +32,7 @@ local alsabar = { _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 @@ -135,4 +135,4 @@ local function worker(args) return alsabar end -return setmetatable(alsabar, { __call = function(_, ...) return worker(...) end }) +return setmetatable(alsabar, { __call = function(_, ...) return factory(...) end })