2009-08-24 18:23:32 +02:00
|
|
|
local setmetatable = setmetatable
|
|
|
|
local require = require
|
2009-07-02 02:10:32 +02:00
|
|
|
|
|
|
|
-- Widget layouts
|
|
|
|
module("awful.widget.layout")
|
|
|
|
|
2009-08-24 18:23:32 +02:00
|
|
|
--- Widgets margins.
|
|
|
|
-- <p>In this table you can set the margin you want the layout to use when
|
|
|
|
-- positionning your widgets.
|
|
|
|
-- For example, if you want to put 10 pixel free on left on a widget, add this:
|
|
|
|
-- <code>
|
|
|
|
-- awful.widget.layout.margins[mywidget] = { left = 10 }
|
|
|
|
-- </code>
|
|
|
|
-- </p>
|
|
|
|
-- @name margins
|
|
|
|
-- @class table
|
|
|
|
margins = setmetatable({}, { __mode = 'k' })
|
|
|
|
|
|
|
|
require("awful.widget.layout.horizontal")
|
|
|
|
require("awful.widget.layout.vertical")
|
|
|
|
require("awful.widget.layout.default")
|
|
|
|
|
2009-07-02 02:10:32 +02:00
|
|
|
-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=80
|