aboutsummaryrefslogtreecommitdiff
path: root/fs.lua
diff options
context:
space:
mode:
Diffstat (limited to 'fs.lua')
-rw-r--r--fs.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs.lua b/fs.lua
index 3afe801..313f91e 100644
--- a/fs.lua
+++ b/fs.lua
@@ -6,6 +6,7 @@
-- {{{ Grab environment
local type = type
local io = { popen = io.popen }
+local setmetatable = setmetatable
local helpers = require("vicious.helpers")
-- }}}
@@ -54,3 +55,5 @@ function worker(format, padding)
return args
end
-- }}}
+
+setmetatable(_M, { __call = function(_, ...) return worker(...) end })