aboutsummaryrefslogtreecommitdiff
path: root/widgets/os.lua
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/os.lua')
-rw-r--r--widgets/os.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/widgets/os.lua b/widgets/os.lua
index 57b807a..288fcd4 100644
--- a/widgets/os.lua
+++ b/widgets/os.lua
@@ -19,7 +19,8 @@ local string = {
-- OS: provides operating system information
-module("vicious.widgets.os")
+-- vicious.widgets.os
+local os = {}
-- {{{ Operating system widget type
@@ -69,4 +70,4 @@ local function worker(format)
end
-- }}}
-setmetatable(_M, { __call = function(_, ...) return worker(...) end })
+return setmetatable(os, { __call = function(_, ...) return worker(...) end })