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