summaryrefslogtreecommitdiff
path: root/scratch/drop.lua
diff options
context:
space:
mode:
Diffstat (limited to 'scratch/drop.lua')
-rw-r--r--scratch/drop.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/scratch/drop.lua b/scratch/drop.lua
index 3f7e4cd..2c7e214 100644
--- a/scratch/drop.lua
+++ b/scratch/drop.lua
@@ -34,7 +34,8 @@ local capi = {
}
-- Scratchdrop: drop-down applications manager for the awesome window manager
-module("scratch.drop")
+local drop = {} -- module scratch.drop
+
local dropdown = {}
@@ -126,4 +127,4 @@ function toggle(prog, vert, horiz, width, height, sticky, screen)
end
end
-setmetatable(_M, { __call = function(_, ...) return toggle(...) end })
+return setmetatable(drop, { __call = function(_, ...) return toggle(...) end })