X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/ea4e4f41b35b37fc6b529c625d956c11d108a403..1134630a54d403d1c50b6ed487e9bb5d67319954:/widgets/mem.lua diff --git a/widgets/mem.lua b/widgets/mem.lua index 443047c..e96dc1b 100644 --- a/widgets/mem.lua +++ b/widgets/mem.lua @@ -50,7 +50,7 @@ local function worker(args) newtimer("mem", timeout, update) - return mem.widget + return setmetatable(mem, { __index = mem.widget }) end return setmetatable(mem, { __call = function(_, ...) return worker(...) end })