From 1adab3e040363e2855d9b11972f2a1e11ec9b071 Mon Sep 17 00:00:00 2001 From: "Adrian C. (anrxc)" Date: Tue, 19 Jun 2012 02:57:00 +0200 Subject: scratch: port scratch module to lua 5.2 --- scratch/drop.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'scratch/drop.lua') 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 }) -- cgit v1.2.3