Update borders

wochap 2024-03-12 18:26:35 +00:00
parent 98b3322351
commit 2fc41137f0

@ -1,6 +1,42 @@
### Description ### Description
Adds 2 more borders to each side (top, bottom, left, right) of every window. Adds 2 more borders to each side (top, bottom, left, right) of every window.
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 */
```
<details>
<summary>and `border_color_type` set to `BrdOriginal`:</summary>
<pre>
<img src="https://i.imgur.com/msead2K.png"/>
</pre>
</details>
<details>
<summary>and `border_color_type` set to `BrdStart`:</summary>
<pre>
<img src="https://i.imgur.com/ssgPG36.png"/>
</pre>
</details>
<details>
<summary>and `border_color_type` set to `BrdEnd`:</summary>
<pre>
<img src="https://i.imgur.com/i2Xtjy6.png"/>
</pre>
</details>
<details>
<summary>and `border_color_type` set to `BrdStartEnd`:</summary>
<pre>
<img src="https://i.imgur.com/fnkitdR.png"/>
</pre>
</details>
### Download ### Download
- [git branch](https://codeberg.org/wochap/dwl/src/branch/v0.5/borders) - [git branch](https://codeberg.org/wochap/dwl/src/branch/v0.5/borders)
- [2024-03-12](https://codeberg.org/dwl/dwl-patches/raw/branch/main/borders/borders.patch) - [2024-03-12](https://codeberg.org/dwl/dwl-patches/raw/branch/main/borders/borders.patch)