Updated Layouts (markdown)

This commit is contained in:
Luke Bonham 2013-09-07 03:20:25 -07:00
parent cce1bce330
commit b7cdfbeaac

View file

@ -218,6 +218,7 @@ For example, this sets `termfair` to 3 columns and at least 1 row:
uselessfair, uselesspiral & uselesstile uselessfair, uselesspiral & uselesstile
--------------------------------------- ---------------------------------------
These are duplicates of the stock `fair`, `spiral` and `tile` layouts. These are duplicates of the stock `fair`, `spiral` and `tile` layouts.
However, "useless gaps" (see below) have been added. However, "useless gaps" (see below) have been added.
Useless gaps Useless gaps
@ -246,9 +247,7 @@ you have to add an item called `useless_gap_width` in your `theme.lua`.
If it doesn't exist, the width will default to 0. If it doesn't exist, the width will default to 0.
Example: Example:
...
theme.useless_gap_width = "5" theme.useless_gap_width = "5"
...
What about layout icons? What about layout icons?
======================== ========================
@ -257,13 +256,11 @@ They are located in ``lain/icons/layout``.
To use them, add lines to your ``theme.lua`` like this: To use them, add lines to your ``theme.lua`` like this:
...
theme.lain_icons = os.getenv("HOME") .. "/.config/awesome/lain/icons/layout/default/" theme.lain_icons = os.getenv("HOME") .. "/.config/awesome/lain/icons/layout/default/"
theme.layout_termfair = theme.lain_icons .. "termfairw.png" theme.layout_termfair = theme.lain_icons .. "termfairw.png"
theme.layout_cascade = theme.lain_icons .. "cascadew.png" theme.layout_cascade = theme.lain_icons .. "cascadew.png"
theme.layout_cascadetile = theme.lain_icons .. "cascadetilew.png" theme.layout_cascadetile = theme.lain_icons .. "cascadetilew.png"
theme.layout_centerwork = theme.lain_icons .. "centerworkw.png" theme.layout_centerwork = theme.lain_icons .. "centerworkw.png"
...
Credits goes to [Nicolas Estibals](https://github.com/nestibal) for creating Credits goes to [Nicolas Estibals](https://github.com/nestibal) for creating
layout icons for default theme. layout icons for default theme.