summaryrefslogtreecommitdiffstats
path: root/dwl-patches/patches/borders/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'dwl-patches/patches/borders/README.md')
-rw-r--r--dwl-patches/patches/borders/README.md37
1 files changed, 37 insertions, 0 deletions
diff --git a/dwl-patches/patches/borders/README.md b/dwl-patches/patches/borders/README.md
new file mode 100644
index 0000000..b046307
--- /dev/null
+++ b/dwl-patches/patches/borders/README.md
@@ -0,0 +1,37 @@
+### Description
+Adds 2 more borders to each side (top, bottom, left, right) of every window.
+
+
+
+<details>
+<summary>Preview</summary>
+<pre>
+With the following config:
+
+```c
+static const unsigned int borderpx = 9; /* border pixel of windows */
+static const unsigned int borderspx = 3; /* width of the border that start from outside the windows */
+static const unsigned int borderepx = 3; /* width of the border that start from inside the windows */
+```
+
+and `border_color_type` set to `BrdOriginal`:
+<img src="https://i.imgur.com/msead2K.png"/>
+
+and `border_color_type` set to `BrdStart`:
+<img src="https://i.imgur.com/ssgPG36.png"/>
+
+and `border_color_type` set to `BrdEnd`:
+<img src="https://i.imgur.com/i2Xtjy6.png"/>
+
+and `border_color_type` set to `BrdStartEnd`:
+<img src="https://i.imgur.com/fnkitdR.png"/>
+</pre>
+</details>
+
+### Download
+- [git branch](https://codeberg.org/wochap/dwl/src/branch/v0.5/borders)
+- [2024-06-04](https://codeberg.org/dwl/dwl-patches/raw/commit/1a6825f2b8cd23044312c8040d0bf63ee7f85bc5/patches/borders/borders.patch)
+- [v0.5](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/borders/borders.patch)
+
+### Authors
+- [wochap](https://codeberg.org/wochap)