diff options
| author | Malfurious <m@lfurio.us> | 2024-03-02 20:01:00 -0500 |
|---|---|---|
| committer | Matt Hunter <m@lfurio.us> | 2026-01-18 00:18:46 -0500 |
| commit | 23157e30211c74472f96c6aad451be0039ee29dc (patch) | |
| tree | 4a8524da43bc1558bfb2dac0a98bf6eef00ae362 /config.def.h | |
| parent | 597a5546cdb9ca912fa634776b3e873a80ccc277 (diff) | |
| download | dwm-23157e30211c74472f96c6aad451be0039ee29dc.tar.gz dwm-23157e30211c74472f96c6aad451be0039ee29dc.zip | |
patch: elit
elit is an inversion of the default tiling layout with the following
characteristics:
- master area is on the right
- master windows are taken from the bottom of the stack (nmaster of
them)
- new clients spawn on the top of the stack and therefore appear at
the top of the slave stacking area on the left
- mfact controls the middle division point (motion is consistent
with default layout)
In effect, elit will keep specific client windows pinned in place on the
right, allowing the use of a dynamic stack on the left. I've found this
useful to use on a secondary monitor for opening and closing short-lived
terminals without affecting the geometry of a web browser window, which
can reserve the full height of the display.
Diffstat (limited to 'config.def.h')
| -rw-r--r-- | config.def.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h index c713ec1..0e512bf 100644 --- a/config.def.h +++ b/config.def.h @@ -47,6 +47,7 @@ static const Layout layouts[] = { { "[M]", monocle }, { "|M|", centeredmaster }, { "||=", col }, + { "=[]", elit }, }; /* key definitions */ @@ -96,6 +97,7 @@ static const Key keys[] = { { MODKEY, XK_m, setlayout, {.v = &layouts[2]} }, { MODKEY, XK_u, setlayout, {.v = &layouts[3]} }, { MODKEY, XK_o, setlayout, {.v = &layouts[4]} }, + { MODKEY, XK_e, setlayout, {.v = &layouts[5]} }, { MODKEY, XK_comma, focusmon, {.i = -1 } }, { MODKEY, XK_period, focusmon, {.i = +1 } }, { MODKEY|ShiftMask, XK_comma, tagmon, {.i = -1 } }, |
