snail: fix formatting

This commit is contained in:
Nikita Ivanov 2026-03-16 20:38:06 +01:00
parent ca06146655
commit 52a7559a87
No known key found for this signature in database
GPG Key ID: 6E656AC5B97B5133

View File

@ -1,8 +1,9 @@
### Description ### Description
This layout is a scalable alternative to the "tile" and "spiral" layouts, optimized for wide monitors. Both the master area and the stack are "spirals", but windows in the master area are split horizontally as long as the master area has enough horizontal space, and the first window in the stack is split vertically unless the stack is wide. This layout is a scalable alternative to the "tile" and "spiral" layouts, optimized for wide monitors. Both the master area and the stack are "spirals", but windows in the master area are split horizontally as long as the master area has enough horizontal space, and the first window in the stack is split vertically unless the stack is wide.
With one window in the master area and mfact = 0.5, it behaves like the spiral layout: With one window in the master area and `mfact = 0.5`, it behaves like the spiral layout:
```
┌───────────────┬────────────────┐ ┌───────────────┬────────────────┐
│ │ │ │ │ │
│ │ │ │ │ │
@ -14,9 +15,11 @@ With one window in the master area and mfact = 0.5, it behaves like the spiral l
│ │ │ │ │ │ │ │
│ │ │ │ │ │ │ │
└───────────────┴───────┴────────┘ └───────────────┴───────┴────────┘
```
With 2 windows in the master area and 2 in the stack: With 2 windows in the master area and 2 in the stack:
```
┌───────────────┬────────────────┐ ┌───────────────┬────────────────┐
│ │ │ │ │ │
│ │ │ │ │ │
@ -28,9 +31,11 @@ With 2 windows in the master area and 2 in the stack:
│ │ │ │ │ │
│ │ │ │ │ │
└───────────────┴────────────────┘ └───────────────┴────────────────┘
```
With 3 windows in the master area and 2 in the stack: With 3 windows in the master area and 2 in the stack:
```
┌───────────────┬────────────────┐ ┌───────────────┬────────────────┐
│ │ │ │ │ │
│ │ │ │ │ │
@ -42,9 +47,11 @@ With 3 windows in the master area and 2 in the stack:
│ │ │ │ │ │ │ │
│ │ │ │ │ │ │ │
└───────┴───────┴────────────────┘ └───────┴───────┴────────────────┘
```
With many windows in both areas: With many windows in both areas:
```
┌───────────────┬────────────────┐ ┌───────────────┬────────────────┐
│ │ │ │ │ │
│ │ │ │ │ │
@ -56,9 +63,11 @@ With many windows in both areas:
│ │ │ │ │ │ │ │ │ │
│ │ │ │ │ │ │ │ │ │
└───────┴───────┴───────┴────────┘ └───────┴───────┴───────┴────────┘
```
With 2 windows in the master area, many windows in the stack and high mfact: With 2 windows in the master area, many windows in the stack and high mfact:
```
┌──────────┬──────────┬──────────┐ ┌──────────┬──────────┬──────────┐
│ │ │ │ │ │ │ │
│ │ │ │ │ │ │ │
@ -70,9 +79,11 @@ With 2 windows in the master area, many windows in the stack and high mfact:
│ │ │ │ │ │ │ │ │ │
│ │ │ │ │ │ │ │ │ │
└──────────┴──────────┴─────┴────┘ └──────────┴──────────┴─────┴────┘
```
With 2 windows in the master area, many windows in the stack and low mfact: With 2 windows in the master area, many windows in the stack and low mfact:
```
┌──────────┬──────────┬──────────┐ ┌──────────┬──────────┬──────────┐
│ │ │ │ │ │ │ │
│ │ │ │ │ │ │ │
@ -84,6 +95,7 @@ With 2 windows in the master area, many windows in the stack and low mfact:
│ │ │ │ │ │ │ │ │ │
│ │ │ │ │ │ │ │ │ │
└──────────┴──────────┴─────┴────┘ └──────────┴──────────┴─────┴────┘
```
### Download ### Download
- [0.8](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/snail/snail-0.8.patch) - [0.8](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/snail/snail-0.8.patch)