diff options
author | Adrian C. (anrxc) <anrxc@sysphere.org> | 2012-06-19 02:57:00 +0200 |
---|---|---|
committer | Adrian C. (anrxc) <anrxc@sysphere.org> | 2012-06-19 02:57:00 +0200 |
commit | 1adab3e040363e2855d9b11972f2a1e11ec9b071 (patch) | |
tree | 8da209ccd59ca6133d46a072113942651f04f0c8 /scratch/drop.lua | |
parent | ac9c2f45592980138cb632c49f6c213c67a8fef9 (diff) | |
download | awesome-configs-1adab3e040363e2855d9b11972f2a1e11ec9b071.tar.xz |
scratch: port scratch module to lua 5.2
Diffstat (limited to 'scratch/drop.lua')
-rw-r--r-- | scratch/drop.lua | 5 |
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 }) |