summaryrefslogtreecommitdiffstats
path: root/dwl-patches/patches/minimalborders/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'dwl-patches/patches/minimalborders/README.md')
-rw-r--r--dwl-patches/patches/minimalborders/README.md34
1 files changed, 34 insertions, 0 deletions
diff --git a/dwl-patches/patches/minimalborders/README.md b/dwl-patches/patches/minimalborders/README.md
new file mode 100644
index 0000000..2a670c9
--- /dev/null
+++ b/dwl-patches/patches/minimalborders/README.md
@@ -0,0 +1,34 @@
+### Description
+Dynamically adjusts the borders between adjacent windows to make them visually merge
+
+**NOTE:** to disable minimalborders after applying this patch, set `draw_minimal_borders` to `0`
+
+```c
+static const int draw_minimal_borders = 0; /* disable minimalborders */
+```
+
+<details>
+<summary>Preview:</summary>
+<pre>
+with:
+
+```c
+static const unsigned int borderpx = 10; /* border pixel of windows */
+```
+
+Before applying the patch
+<img src="https://i.imgur.com/VQfXCjp.png"/>
+
+After applying the patch
+<img src="https://i.imgur.com/I7s0Xkv.png"/>
+</pre>
+</details>
+
+### Download
+- [git branch](https://codeberg.org/wochap/dwl/src/branch/v0.5/minimalborders)
+- [2024-07-09](https://codeberg.org/dwl/dwl-patches/raw/commit/13d96b51b54500dd24544cf3a73c61b7a1414bc6/patches/minimalborders/minimalborders.patch)
+- [2024-04-11](https://codeberg.org/dwl/dwl-patches/raw/commit/7a5c3420822074c544fa102e030b7c30aa6b6be8/minimalborders/minimalborders.patch)
+- [v0.5](https://codeberg.org/dwl/dwl-patches/raw/commit/be3735bc6a5c64ff76c200a8679453bd179be456/minimalborders/minimalborders.patch)
+
+### Authors
+- [wochap](https://codeberg.org/wochap)