diff --git a/_STALE_PATCHES/regexrules.md b/_STALE_PATCHES/regexrules.md deleted file mode 100644 index e39ca8f..0000000 --- a/_STALE_PATCHES/regexrules.md +++ /dev/null @@ -1,17 +0,0 @@ -### 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 -- [2023-10-11](https://github.com/djpohly/dwl/compare/main...wochap:regexrules.patch) - -### Authors -- [wochap](https://github.com/wochap) \ No newline at end of file diff --git a/regexrules/regexrules.patch b/regexrules/regexrules.patch index 7170158..d7584dc 100644 --- a/regexrules/regexrules.patch +++ b/regexrules/regexrules.patch @@ -1,3 +1,14 @@ +From 3ae5cd4ff7b2cc73bd2c0ebb25d6afcde64e8e6d Mon Sep 17 00:00:00 2001 +From: wochap +Date: Tue, 5 Mar 2024 23:56:23 -0500 +Subject: [PATCH] implement regex support in rules for app_id and title + +Enables the use of regular expressions for window rules "app_id" and "title" +--- + config.def.h | 1 + + dwl.c | 19 +++++++++++++++++-- + 2 files changed, 18 insertions(+), 2 deletions(-) + diff --git a/config.def.h b/config.def.h index db0babc..ff23b6f 100644 --- a/config.def.h @@ -61,4 +72,6 @@ index ef27a1d..df29577 100644 #ifdef XWAYLAND void activatex11(struct wl_listener *listener, void *data) +-- +2.42.0