X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/e64c1443d028749ba469def533efb075abd3d06b..58b2a122dd20cc4d1d15a29a27e618c9c88050cc:/widgets/abase.lua?ds=sidebyside 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 })