diff options
| author | Malfurious <m@lfurio.us> | 2024-03-02 11:05:58 -0500 |
|---|---|---|
| committer | Matt Hunter <m@lfurio.us> | 2026-01-18 00:18:46 -0500 |
| commit | 5e18bb5da386cd244f2f27e16b5e77ba5f66bfd9 (patch) | |
| tree | 2e6d99d923234e853aabce0e8e206658402c64a5 /util.c | |
| parent | ae8a9fe600ac29c04e72e42a16052c67e203cb26 (diff) | |
| download | dwm-5e18bb5da386cd244f2f27e16b5e77ba5f66bfd9.tar.gz dwm-5e18bb5da386cd244f2f27e16b5e77ba5f66bfd9.zip | |
patch: centeredmaster
centeredmaster centers the nmaster area on screen, using mfact * monitor
width & height, with the stacked windows distributed to the left and
right. It can be selected with [Alt]+[u].
With one and two clients in master respectively this results in:
+------------------------------+ +------------------------------+
|+--------++--------++--------+| |+--------++--------++--------+|
|| || || || || || || ||
|| || || || || || M1 || ||
|| || || || || || || ||
|| S2 || M || S1 || || |+--------+| ||
|| || || || || |+--------+| ||
|| || || || || || || ||
|| || || || || || M2 || ||
|| || || || || || || ||
|+--------++--------++--------+| |+--------++--------++--------+|
+------------------------------+ +------------------------------+
This layout can be useful on large screens, where monocle or htile might
be either too large or forcing the user to type in a corner of the
screen. It allows for instance to center the editor while being able to
keep an eye on background processes (logs, tests, ...).
Diffstat (limited to 'util.c')
0 files changed, 0 insertions, 0 deletions
