X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/e64c1443d028749ba469def533efb075abd3d06b..2d35d4e102074ae449ec1f4d261517fe06c5a01d:/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 })