From 8732443044824a347c0417036adcbcd6c8b9274b Mon Sep 17 00:00:00 2001 From: wochap Date: Tue, 12 Mar 2024 17:56:35 +0000 Subject: [PATCH] Add centeredmaster --- centeredmaster.md | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 centeredmaster.md diff --git a/centeredmaster.md b/centeredmaster.md new file mode 100644 index 0000000..b30f023 --- /dev/null +++ b/centeredmaster.md @@ -0,0 +1,31 @@ +### Description +This is a port of centeredmaster patch for dwm: + +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+c`. + +With one and two clients in master respectively this results in: + +``` ++------------------------------+ +------------------------------+ +|+--------++--------++--------+| |+--------++--------++--------+| +|| || || || || || || || +|| || || || || || M1 || || +|| || || || || || || || +|| S2 || M || S1 || || |+--------+| || +|| || || || || |+--------+| || +|| || || || || || || || +|| || || || || || M2 || || +|| || || || || || || || +|+--------++--------++--------+| |+--------++--------++--------+| ++------------------------------+ +------------------------------+ +``` + + +### Download +- [git branch](https://codeberg.org/wochap/dwl/src/branch/v0.5/centeredmaster) +- [2024-03-12](https://codeberg.org/dwl/dwl-patches/raw/branch/main/centeredmaster/centeredmaster.patch) + +### Authors +- [wochap](https://codeberg.org/wochap)