From e7db5e3049a5191a08756b710de34db854ead5c1 Mon Sep 17 00:00:00 2001 From: Aire-One Date: Sat, 23 Oct 2021 16:05:49 +0200 Subject: [PATCH] fix: format --- lib/wibox/widget/template.lua | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/lib/wibox/widget/template.lua b/lib/wibox/widget/template.lua index ec6791d3d..4bce99307 100644 --- a/lib/wibox/widget/template.lua +++ b/lib/wibox/widget/template.lua @@ -38,15 +38,16 @@ end -- All arguments are passed to the queued `update_callback` call. function template:update(args) if type(args) == "table" then - self._private.update_args = gtable.crush(gtable.clone(self._private.update_args or {}, false), args) + self._private.update_args = gtable.crush( + gtable.clone(self._private.update_args or {}, false), + args + ) end if not template.queued_updates[self] then - gtimer.delayed_call( - function() - self:_do_update_now() - end - ) + gtimer.delayed_call(function() + self:_do_update_now() + end) template.queued_updates[self] = true end end