From b1df1049ddbe97c0dad45bc3d624101b72024c28 Mon Sep 17 00:00:00 2001 From: wochap Date: Tue, 12 Mar 2024 17:07:07 +0000 Subject: [PATCH] Add regexrules --- regexrules.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 regexrules.md diff --git a/regexrules.md b/regexrules.md new file mode 100644 index 0000000..7647667 --- /dev/null +++ b/regexrules.md @@ -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)