summaryrefslogtreecommitdiffstats
path: root/dwl-patches/patches/minimalborders/README.md
blob: 2a670c910a02efd79ca69a4b80e7ae1682bf9aa2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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)