X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/fadc722655b2ba4ebe98eece3498da3c88f8b6fc..d9877c4bedca550478507f268f43e137e4454c24:/widgets/temp.lua?ds=inline diff --git a/widgets/temp.lua b/widgets/temp.lua index cdf3002..e769b25 100644 --- a/widgets/temp.lua +++ b/widgets/temp.lua @@ -39,7 +39,7 @@ local function worker(args) newtimer("coretemp", timeout, update) - return temp.widget + return setmetatable(temp, { __index = temp.widget }) end return setmetatable(temp, { __call = function(_, ...) return worker(...) end })