Module awful.layout

Layout module for awful

Author:

Julien Danjou <julien@danjou.info>

Copyright© 2008 Julien Danjou

Release: v3.3.4

Functions

get (screen) Get the current layout.
getname (layout) Get the current layout name.
inc (layouts, i) Change the layout of the current tag.
set (layout, t) Set the layout function of the current tag.


Functions

get (screen)
Get the current layout.

Parameters

  • screen: The screen number.

Return value:

The layout function.
getname (layout)
Get the current layout name.

Parameters

  • layout: The layout.

Return value:

The layout name.
inc (layouts, i)
Change the layout of the current tag.

Parameters

  • layouts: A table of layouts.
  • i: Relative index.
set (layout, t)
Set the layout function of the current tag.

Parameters

  • layout: Layout name.
  • t:

Valid XHTML 1.0!