From: Luke Bonham Date: Sun, 2 Apr 2017 22:53:31 +0000 (+0200) Subject: pulsebar: fix factory return X-Git-Url: https://git.madduck.net/etc/awesome.git/commitdiff_plain/fc6e880da40668c6e9bd9da3786ff2fcae519c75?ds=inline;hp=-c pulsebar: fix factory return --- fc6e880da40668c6e9bd9da3786ff2fcae519c75 diff --git a/widget/pulsebar.lua b/widget/pulsebar.lua index 0ab6312..41a8ce3 100644 --- a/widget/pulsebar.lua +++ b/widget/pulsebar.lua @@ -145,4 +145,4 @@ local function factory(args) return pulsebar end -return setmetatable(pulsebar, { __call = function(_, ...) return factory(...) end }) +return factory