mirror of
				https://codeberg.org/dwl/dwl-patches.git
				synced 2025-11-04 05:54:20 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			34 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			34 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			Markdown
		
	
	
	
	
	
### Description
 | 
						|
This is a port of centeredmaster patch for dwm: <https://dwm.suckless.org/patches/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+c`.
 | 
						|
 | 
						|
With one and two clients in master respectively this results in:
 | 
						|
 | 
						|
```
 | 
						|
+------------------------------+       +------------------------------+
 | 
						|
|+--------++--------++--------+|       |+--------++--------++--------+|
 | 
						|
||        ||        ||        ||       ||        ||        ||        ||
 | 
						|
||        ||        ||        ||       ||        ||   M1   ||        ||
 | 
						|
||        ||        ||        ||       ||        ||        ||        ||
 | 
						|
||  S2    ||   M    ||   S1   ||       ||        |+--------+|        ||
 | 
						|
||        ||        ||        ||       ||        |+--------+|        ||
 | 
						|
||        ||        ||        ||       ||        ||        ||        ||
 | 
						|
||        ||        ||        ||       ||        ||   M2   ||        ||
 | 
						|
||        ||        ||        ||       ||        ||        ||        ||
 | 
						|
|+--------++--------++--------+|       |+--------++--------++--------+|
 | 
						|
+------------------------------+       +------------------------------+
 | 
						|
```
 | 
						|
 | 
						|
 | 
						|
### Download
 | 
						|
- [0.7](/dwl/dwl-patches/raw/branch/main/patches/centeredmaster/centeredmaster.patch)
 | 
						|
- [2024-04-11](https://codeberg.org/dwl/dwl-patches/raw/commit/b104a580a80ebaf9f7e8917fe574e3e97ddd019a/centeredmaster/centeredmaster.patch)
 | 
						|
- [0.5](https://codeberg.org/dwl/dwl-patches/raw/commit/0f4e40fee49d1b8b430778e241b29496ae3b3b70/centeredmaster/centeredmaster.patch)
 | 
						|
 | 
						|
### Authors
 | 
						|
- [Nikita Ivanov](https://codeberg.org/nikitaivanov) ([GitHub](https://github.com/NikitaIvanovV))
 | 
						|
- [wochap](https://codeberg.org/wochap)
 |