aboutsummaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua22
1 files changed, 11 insertions, 11 deletions
diff --git a/init.lua b/init.lua
index 82316ed..a7fdac0 100644
--- a/init.lua
+++ b/init.lua
@@ -143,17 +143,17 @@ end
function register(widget, wtype, format, timer, warg)
local widget = widget
local reg = {
- -- Set properties
- wtype = wtype,
- format = format,
- timer = timer,
- warg = warg,
- widget = widget,
-
- -- Update function
- update = function ()
- update(widget, reg)
- end,
+ -- Set properties
+ wtype = wtype,
+ format = format,
+ timer = timer,
+ warg = warg,
+ widget = widget,
+
+ -- Update function
+ update = function ()
+ update(widget, reg)
+ end,
}
-- Default to 2s timer