Add dwindle layout patch

Add dwindle layout patch

Adding config.def.h keybinding

Adding config.def.h keybinding
This commit is contained in:
C4FE1
2026-03-20 21:24:14 -03:00
committed by A Frederick Christensen
parent 998808b303
commit b2c87f505f
2 changed files with 160 additions and 0 deletions
+55
View File
@@ -0,0 +1,55 @@
### Description
Adds a dwindle (fibonacci-style) layout to dwl.
Windows are arranged by recursively splitting the remaining space,
alternating between horizontal and vertical splits
With two windows:
```
┌───────────────┬────────────────┐
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │
└───────────────┴────────────────┘
```
With three windows:
```
┌───────────────┬────────────────┐
│ │ │
│ │ │
│ │ │
│ │ │
│ ├────────────────┤
│ │ │
│ │ │
│ │ │
│ │ │
└───────────────┴────────────────┘
```
With four windows:
```
┌───────────────┬────────────────┐
│ │ │
│ │ │
│ │ │
│ │ │
│ ├───────┬────────┤
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
└───────────────┴───────┴────────┘
```
### Download
- [0.8](/dwl/dwl-patches/raw/branch/main/patches/dwindle/dwindle.patch)
### Authors
[cana cronica](https://codeberg.org/cana)