]>
git.madduck.net Git - etc/awesome.git/blobdiff - Layouts.md
madduck's git repository
Every one of the projects in this repository is available at the canonical
URL git://git.madduck.net/madduck/pub/<projectpath> — see
each project's metadata for the exact URL.
All patches and comments are welcome. Please squash your changes to logical
commits before using git-format-patch and git-send-email to
patches@ git. madduck. net .
If you'd read over the Git project's submission guidelines and adhered to them,
I'd be especially grateful.
SSH access, as well as push access can be individually
arranged .
If you use my repositories frequently, consider adding the following
snippet to ~/.gitconfig and using the third clone URL listed for each
project:
[url "git://git.madduck.net/madduck/"]
insteadOf = madduck:
+[<- home](https://github.com/copycat-killer/lain/wiki)
+
Currently, there are **7** layouts.
lain/layout
Currently, there are **7** layouts.
lain/layout
lain.layout.cascadetile.cascade_offset_x = 2
lain.layout.cascadetile.cascade_offset_y = 32
lain.layout.cascadetile.extra_padding = 5
lain.layout.cascadetile.cascade_offset_x = 2
lain.layout.cascadetile.cascade_offset_y = 32
lain.layout.cascadetile.extra_padding = 5
- lain.layout.cascadetile.nmaster = 5
- lain.layout.ncol = 1
+ lain.layout.cascadetile.nmaster = 5
+ lain.layout.ncol = 1
`extra_padding` reduces the size of the master window if "overlapping
slave column" is activated. This allows you to see if there are any
`extra_padding` reduces the size of the master window if "overlapping
slave column" is activated. This allows you to see if there are any
Here's an example:
globalkeys = awful.util.table.join(
Here's an example:
globalkeys = awful.util.table.join(
awful.key({ modkey }, "j",
function()
awful.client.focus.bydirection("down")
awful.key({ modkey }, "j",
function()
awful.client.focus.bydirection("down")
uselessfair, uselesspiral & uselesstile
---------------------------------------
These are duplicates of the stock `fair`, `spiral` and `tile` layouts.
uselessfair, uselesspiral & uselesstile
---------------------------------------
These are duplicates of the stock `fair`, `spiral` and `tile` layouts.
However, "useless gaps" (see below) have been added.
Useless gaps
However, "useless gaps" (see below) have been added.
Useless gaps
If it doesn't exist, the width will default to 0.
Example:
If it doesn't exist, the width will default to 0.
Example:
theme.useless_gap_width = "5"
theme.useless_gap_width = "5"
What about layout icons?
========================
What about layout icons?
========================
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.layout_termfair = theme.lain_icons .. "termfairw.png"
theme.layout_cascade = theme.lain_icons .. "cascadew.png"
theme.layout_cascadetile = theme.lain_icons .. "cascadetilew.png"
theme.layout_centerwork = theme.lain_icons .. "centerworkw.png"
theme.lain_icons = os.getenv("HOME") .. "/.config/awesome/lain/icons/layout/default/"
theme.layout_termfair = theme.lain_icons .. "termfairw.png"
theme.layout_cascade = theme.lain_icons .. "cascadew.png"
theme.layout_cascadetile = theme.lain_icons .. "cascadetilew.png"
theme.layout_centerwork = theme.lain_icons .. "centerworkw.png"
Credits goes to [Nicolas Estibals](https://github.com/nestibal) for creating
layout icons for default theme.
Credits goes to [Nicolas Estibals](https://github.com/nestibal) for creating
layout icons for default theme.
-You can use them as a template for your custom versions.
\ No newline at end of file
+You can use them as a template for your custom versions.
+
+[<- home](https://github.com/copycat-killer/lain/wiki)
\ No newline at end of file