X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/dc614905b0e55d80fcf78f28f3454833d513837a..49a4df385e953156e6d1e2ee0bcfd07d8501d0f4:/widgets/abase.lua diff --git a/widgets/abase.lua b/widgets/abase.lua index 7eef754..1214151 100644 --- a/widgets/abase.lua +++ b/widgets/abase.lua @@ -35,7 +35,7 @@ local function worker(args) abase.timer = helpers.newtimer(cmd, timeout, abase.update, nostart, stoppable) - return setmetatable(abase, { __index = abase.widget }) + return abase end return setmetatable({}, { __call = function(_, ...) return worker(...) end })