X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/8c2e1df0c3f648ed70e52fab38a176e2f924407b..434d5f32aa3a19763bf6bb2eed40f881fd918309:/widgets/mpd.lua?ds=sidebyside diff --git a/widgets/mpd.lua b/widgets/mpd.lua index aad4dc8..d92c78f 100644 --- a/widgets/mpd.lua +++ b/widgets/mpd.lua @@ -129,7 +129,7 @@ local function worker(args) mpd.timer = helpers.newtimer("mpd", timeout, mpd.update, true, true) - return setmetatable(mpd, { __index = mpd.widget }) + return mpd end return setmetatable(mpd, { __call = function(_, ...) return worker(...) end })