Add regexrules

wochap 2024-03-12 17:07:07 +00:00
parent c4292e8079
commit b1df1049dd

18
regexrules.md Normal file

@ -0,0 +1,18 @@
### Description
Allows the use of regular expressions for window rules "app_id" and "title"
```c
static const Rule rules[] = {
// ...
{ "kitty-htop", NULL, 1 << 8, 0, -1 },
{ "^kitty$", NULL, 0, 0, -1 },
// ...
};
```
### Download
- [git branch](https://codeberg.org/wochap/dwl/src/branch/v0.5/regexrules)
- [2024-03-05](https://codeberg.org/wochap/dwl/raw/commit/8c512c291280d81e954df9e6cf51d479de012ec8/regexrules.patch)
### Authors
- [wochap](https://codeberg.org/wochap)