From 52a7559a870fb532ed5f03ee5665488a7703311c Mon Sep 17 00:00:00 2001 From: Nikita Ivanov Date: Mon, 16 Mar 2026 20:38:06 +0100 Subject: [PATCH] snail: fix formatting --- patches/snail/README.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/patches/snail/README.md b/patches/snail/README.md index a33073a..9a4646e 100644 --- a/patches/snail/README.md +++ b/patches/snail/README.md @@ -1,8 +1,9 @@ ### 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. -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: +``` ┌───────────────┬────────────────┐ │ │ │ │ │ │ @@ -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: +``` ┌───────────────┬────────────────┐ │ │ │ │ │ │ @@ -42,9 +47,11 @@ With 3 windows in the master area and 2 in the stack: │ │ │ │ │ │ │ │ └───────┴───────┴────────────────┘ +``` 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: +``` ┌──────────┬──────────┬──────────┐ │ │ │ │ │ │ │ │ @@ -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: +``` ┌──────────┬──────────┬──────────┐ │ │ │ │ │ │ │ │ @@ -84,6 +95,7 @@ With 2 windows in the master area, many windows in the stack and low mfact: │ │ │ │ │ │ │ │ │ │ └──────────┴──────────┴─────┴────┘ +``` ### Download - [0.8](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/snail/snail-0.8.patch)