mirror of
https://codeberg.org/dwl/dwl-patches.git
synced 2026-06-11 10:23:19 +00:00
Add dwindle layout patch
Add dwindle layout patch Adding config.def.h keybinding Adding config.def.h keybinding
This commit is contained in:
committed by
A Frederick Christensen
parent
998808b303
commit
b2c87f505f
@@ -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)
|
||||
Reference in New Issue
Block a user