1
0
Fork 0
forked from wry/wry

config: add title window criteria

This commit is contained in:
Julian Orth 2025-05-01 18:22:33 +02:00
parent 2b5be7fbd9
commit 6ef7655dbd
14 changed files with 109 additions and 23 deletions

View file

@ -1779,6 +1779,14 @@
"client": {
"description": "Matches if the window's client matches the client criterion.",
"$ref": "#/$defs/ClientMatch"
},
"title": {
"type": "string",
"description": "Matches the title of the window verbatim."
},
"title-regex": {
"type": "string",
"description": "Matches the title of the window with a regular expression."
}
},
"required": []

View file

@ -4010,6 +4010,18 @@ The table has the following fields:
The value of this field should be a [ClientMatch](#types-ClientMatch).
- `title` (optional):
Matches the title of the window verbatim.
The value of this field should be a string.
- `title-regex` (optional):
Matches the title of the window with a regular expression.
The value of this field should be a string.
<a name="types-WindowMatchExactly"></a>
### `WindowMatchExactly`

View file

@ -3467,6 +3467,14 @@ WindowMatch:
ref: ClientMatch
required: false
description: Matches if the window's client matches the client criterion.
title:
kind: string
required: false
description: Matches the title of the window verbatim.
title-regex:
kind: string
required: false
description: Matches the title of the window with a regular expression.
WindowMatchExactly: