bar: note config.h regeneration & pertag

This commit is contained in:
sewn 2024-09-22 18:16:05 +03:00
parent 6b39eef5b2
commit c1ab03584e
No known key found for this signature in database

View File

@ -16,12 +16,14 @@ slstatus -s | dwl
- [0.7](/dwl/dwl-patches/raw/branch/main/patches/bar/bar-0.7.patch))
- [0.6](/dwl/dwl-patches/raw/branch/main/patches/bar/bar-0.6.patch))
It is required to remove, regenerate or update `config.h` after applying the patch,
since it makes changes to the configuration structure.
For example, in the `pertag` patch, `TAGCOUNT` must be replaced with `LENGTH(tags)`.
Below is a preview of the patch.
![bar patch preview](bar.png)
For colors, they are in `RRRR, GGGG, BBBB, AAAA` format due to inheriting the `pixman_color_t` type, an example for the color `0x282a36` would be `0x2828, 0x2a2a, 0x3636, 0xffff`
### Authors
- [sewn](https://codeberg.org/sewn)