X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/03fdf984e93d81ed95945db51c83baf6c23e89e8..2d35d4e102074ae449ec1f4d261517fe06c5a01d:/widgets/alsa.lua?ds=inline diff --git a/widgets/alsa.lua b/widgets/alsa.lua index 93c74cc..8139d42 100644 --- a/widgets/alsa.lua +++ b/widgets/alsa.lua @@ -50,7 +50,7 @@ local function worker(args) helpers.newtimer(string.format("alsa-%s-%s", alsa.cmd, alsa.channel), timeout, alsa.update) - return setmetatable(alsa, { __index = alsa.widget }) + return alsa end return setmetatable(alsa, { __call = function(_, ...) return worker(...) end })