mirror of
https://codeberg.org/dwl/dwl-patches.git
synced 2025-09-09 12:45:00 +00:00
remvoe regexrules from stale folder
export regexrules patch with `git format-patch`
This commit is contained in:
parent
c70d526ea2
commit
4bbfadfb33
@ -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)
|
|
@ -1,3 +1,14 @@
|
|||||||
|
From 3ae5cd4ff7b2cc73bd2c0ebb25d6afcde64e8e6d Mon Sep 17 00:00:00 2001
|
||||||
|
From: wochap <gean.marroquin@gmail.com>
|
||||||
|
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
|
diff --git a/config.def.h b/config.def.h
|
||||||
index db0babc..ff23b6f 100644
|
index db0babc..ff23b6f 100644
|
||||||
--- a/config.def.h
|
--- a/config.def.h
|
||||||
@ -61,4 +72,6 @@ index ef27a1d..df29577 100644
|
|||||||
#ifdef XWAYLAND
|
#ifdef XWAYLAND
|
||||||
void
|
void
|
||||||
activatex11(struct wl_listener *listener, void *data)
|
activatex11(struct wl_listener *listener, void *data)
|
||||||
|
--
|
||||||
|
2.42.0
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user