From 238d16ce18bcb86ca72fa92c5011da4f0df328ad Mon Sep 17 00:00:00 2001 From: Nikita Ivanov <51688199+NikitaIvanovV@users.noreply.github.com> Date: Sat, 20 May 2023 01:27:10 +0200 Subject: [PATCH] Add centered master patch --- centeredmaster.md | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 centeredmaster.md diff --git a/centeredmaster.md b/centeredmaster.md new file mode 100644 index 0000000..9a3ae5c --- /dev/null +++ b/centeredmaster.md @@ -0,0 +1,30 @@ +### 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 +- [2023-05-20](https://github.com/djpohly/dwl/compare/main...NikitaIvanovV:centeredmaster.patch) + +### Authors +- [Nikita Ivanov](https://github.com/NikitaIvanovV) \ No newline at end of file