Docs: awful.layouts fixup
Signed-off-by: Ignas Anikevicius (gns_ank) <anikevicius@gmail.com>
This commit is contained in:
parent
9f8e2b1336
commit
de10f5e4f0
|
@ -1,7 +1,10 @@
|
||||||
---------------------------------------------------------------------------
|
---------------------------------------------------------------------------
|
||||||
|
--- Layout module for awful
|
||||||
|
--
|
||||||
-- @author Julien Danjou <julien@danjou.info>
|
-- @author Julien Danjou <julien@danjou.info>
|
||||||
-- @copyright 2008 Julien Danjou
|
-- @copyright 2008 Julien Danjou
|
||||||
-- @release @AWESOME_VERSION@
|
-- @release @AWESOME_VERSION@
|
||||||
|
-- @module awful.layout
|
||||||
---------------------------------------------------------------------------
|
---------------------------------------------------------------------------
|
||||||
|
|
||||||
-- Grab environment we need
|
-- Grab environment we need
|
||||||
|
@ -18,9 +21,11 @@ local capi = {
|
||||||
local client = require("awful.client")
|
local client = require("awful.client")
|
||||||
local timer = require("gears.timer")
|
local timer = require("gears.timer")
|
||||||
|
|
||||||
--- Layout module for awful
|
|
||||||
-- awful.layout
|
|
||||||
local layout = {}
|
local layout = {}
|
||||||
|
|
||||||
|
--- Default predefined layouts
|
||||||
|
--
|
||||||
|
-- @fixme Add documentation on available layouts as all of them are hidden
|
||||||
layout.suit = require("awful.layout.suit")
|
layout.suit = require("awful.layout.suit")
|
||||||
|
|
||||||
-- The default list of layouts
|
-- The default list of layouts
|
||||||
|
|
|
@ -1,15 +1,16 @@
|
||||||
---------------------------------------------------------------------------
|
---------------------------------------------------------------------------
|
||||||
|
--- Fair layouts module for awful
|
||||||
|
--
|
||||||
-- @author Josh Komoroske
|
-- @author Josh Komoroske
|
||||||
-- @copyright 2012 Josh Komoroske
|
-- @copyright 2012 Josh Komoroske
|
||||||
-- @release @AWESOME_VERSION@
|
-- @release @AWESOME_VERSION@
|
||||||
|
-- @module awful.layout.suit.fair
|
||||||
---------------------------------------------------------------------------
|
---------------------------------------------------------------------------
|
||||||
|
|
||||||
-- Grab environment we need
|
-- Grab environment we need
|
||||||
local ipairs = ipairs
|
local ipairs = ipairs
|
||||||
local math = math
|
local math = math
|
||||||
|
|
||||||
--- Fair layouts module for awful
|
|
||||||
-- awful.layout.suit.fair
|
|
||||||
local fair = {}
|
local fair = {}
|
||||||
|
|
||||||
local function do_fair(p, orientation)
|
local function do_fair(p, orientation)
|
||||||
|
|
|
@ -1,10 +1,12 @@
|
||||||
---------------------------------------------------------------------------
|
---------------------------------------------------------------------------
|
||||||
|
--- Dummy function for floating layout
|
||||||
|
--
|
||||||
-- @author Gregor Best
|
-- @author Gregor Best
|
||||||
-- @copyright 2008 Gregor Best
|
-- @copyright 2008 Gregor Best
|
||||||
-- @release @AWESOME_VERSION@
|
-- @release @AWESOME_VERSION@
|
||||||
|
-- @module awful.layout.suit.floating
|
||||||
---------------------------------------------------------------------------
|
---------------------------------------------------------------------------
|
||||||
|
|
||||||
--- Dummy function for floating layout
|
|
||||||
-- Grab environment we need
|
-- Grab environment we need
|
||||||
local math = math
|
local math = math
|
||||||
local ipairs = ipairs
|
local ipairs = ipairs
|
||||||
|
@ -14,7 +16,6 @@ local capi =
|
||||||
mousegrabber = mousegrabber
|
mousegrabber = mousegrabber
|
||||||
}
|
}
|
||||||
|
|
||||||
-- awful.layout.suit.floating
|
|
||||||
local floating = {}
|
local floating = {}
|
||||||
|
|
||||||
function floating.mouse_resize_handler(c, corner, x, y)
|
function floating.mouse_resize_handler(c, corner, x, y)
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
---------------------------------------------------------------------------
|
---------------------------------------------------------------------------
|
||||||
|
--- Suits for awful
|
||||||
-- @author Julien Danjou <julien@danjou.info>
|
-- @author Julien Danjou <julien@danjou.info>
|
||||||
-- @copyright 2008 Julien Danjou
|
-- @copyright 2008 Julien Danjou
|
||||||
-- @release @AWESOME_VERSION@
|
-- @release @AWESOME_VERSION@
|
||||||
|
-- @module awful.layout.suit
|
||||||
---------------------------------------------------------------------------
|
---------------------------------------------------------------------------
|
||||||
|
|
||||||
--- Suits for awful
|
|
||||||
|
|
||||||
return
|
return
|
||||||
{
|
{
|
||||||
max = require("awful.layout.suit.max");
|
max = require("awful.layout.suit.max");
|
||||||
|
|
|
@ -1,7 +1,10 @@
|
||||||
---------------------------------------------------------------------------
|
---------------------------------------------------------------------------
|
||||||
|
--- Magnifier layout module for awful
|
||||||
|
--
|
||||||
-- @author Julien Danjou <julien@danjou.info>
|
-- @author Julien Danjou <julien@danjou.info>
|
||||||
-- @copyright 2008 Julien Danjou
|
-- @copyright 2008 Julien Danjou
|
||||||
-- @release @AWESOME_VERSION@
|
-- @release @AWESOME_VERSION@
|
||||||
|
-- @module awful.layout.suit.magnifier
|
||||||
---------------------------------------------------------------------------
|
---------------------------------------------------------------------------
|
||||||
|
|
||||||
-- Grab environment we need
|
-- Grab environment we need
|
||||||
|
@ -17,8 +20,6 @@ local capi =
|
||||||
}
|
}
|
||||||
local client = require("awful.client")
|
local client = require("awful.client")
|
||||||
|
|
||||||
--- Magnifier layout module for awful
|
|
||||||
-- awful.layout.suit.magnifier
|
|
||||||
local magnifier = {}
|
local magnifier = {}
|
||||||
|
|
||||||
function magnifier.mouse_resize_handler(c, corner, x, y)
|
function magnifier.mouse_resize_handler(c, corner, x, y)
|
||||||
|
|
|
@ -1,15 +1,16 @@
|
||||||
---------------------------------------------------------------------------
|
---------------------------------------------------------------------------
|
||||||
|
--- Maximized and fullscreen layouts module for awful
|
||||||
|
--
|
||||||
-- @author Julien Danjou <julien@danjou.info>
|
-- @author Julien Danjou <julien@danjou.info>
|
||||||
-- @copyright 2008 Julien Danjou
|
-- @copyright 2008 Julien Danjou
|
||||||
-- @release @AWESOME_VERSION@
|
-- @release @AWESOME_VERSION@
|
||||||
|
-- @module awful.layout.suit.max
|
||||||
---------------------------------------------------------------------------
|
---------------------------------------------------------------------------
|
||||||
|
|
||||||
-- Grab environment we need
|
-- Grab environment we need
|
||||||
local pairs = pairs
|
local pairs = pairs
|
||||||
local client = require("awful.client")
|
local client = require("awful.client")
|
||||||
|
|
||||||
--- Maximized and fullscreen layouts module for awful
|
|
||||||
-- awful.layout.suit.max
|
|
||||||
local max = {}
|
local max = {}
|
||||||
|
|
||||||
local function fmax(p, fs)
|
local function fmax(p, fs)
|
||||||
|
|
|
@ -1,15 +1,18 @@
|
||||||
---------------------------------------------------------------------------
|
---------------------------------------------------------------------------
|
||||||
|
--- Dwindle and spiral layouts
|
||||||
|
--
|
||||||
-- @author Uli Schlachter <psychon@znc.in>
|
-- @author Uli Schlachter <psychon@znc.in>
|
||||||
-- @copyright 2009 Uli Schlachter
|
-- @copyright 2009 Uli Schlachter
|
||||||
-- @copyright 2008 Julien Danjou
|
-- @copyright 2008 Julien Danjou
|
||||||
-- @release @AWESOME_VERSION@
|
-- @release @AWESOME_VERSION@
|
||||||
|
--
|
||||||
|
-- @module awful.layout.suit.spiral
|
||||||
---------------------------------------------------------------------------
|
---------------------------------------------------------------------------
|
||||||
|
|
||||||
-- Grab environment we need
|
-- Grab environment we need
|
||||||
local ipairs = ipairs
|
local ipairs = ipairs
|
||||||
local math = math
|
local math = math
|
||||||
|
|
||||||
-- awful.layout.suit.spiral
|
|
||||||
local spiral = {}
|
local spiral = {}
|
||||||
|
|
||||||
local function do_spiral(p, _spiral)
|
local function do_spiral(p, _spiral)
|
||||||
|
|
|
@ -1,9 +1,12 @@
|
||||||
---------------------------------------------------------------------------
|
---------------------------------------------------------------------------
|
||||||
|
--- Tiled layouts module for awful
|
||||||
|
--
|
||||||
-- @author Donald Ephraim Curtis <dcurtis@cs.uiowa.edu>
|
-- @author Donald Ephraim Curtis <dcurtis@cs.uiowa.edu>
|
||||||
-- @author Julien Danjou <julien@danjou.info>
|
-- @author Julien Danjou <julien@danjou.info>
|
||||||
-- @copyright 2009 Donald Ephraim Curtis
|
-- @copyright 2009 Donald Ephraim Curtis
|
||||||
-- @copyright 2008 Julien Danjou
|
-- @copyright 2008 Julien Danjou
|
||||||
-- @release @AWESOME_VERSION@
|
-- @release @AWESOME_VERSION@
|
||||||
|
-- @module awful.layout.suit.tile
|
||||||
---------------------------------------------------------------------------
|
---------------------------------------------------------------------------
|
||||||
|
|
||||||
-- Grab environment we need
|
-- Grab environment we need
|
||||||
|
@ -18,8 +21,6 @@ local capi =
|
||||||
mousegrabber = mousegrabber
|
mousegrabber = mousegrabber
|
||||||
}
|
}
|
||||||
|
|
||||||
--- Tiled layouts module for awful
|
|
||||||
-- awful.layout.suit.tile
|
|
||||||
local tile = {}
|
local tile = {}
|
||||||
|
|
||||||
local function mouse_resize_handler(c, corner, x, y, orientation)
|
local function mouse_resize_handler(c, corner, x, y, orientation)
|
||||||
|
|
Loading…
Reference in New Issue