config: add title window criteria
This commit is contained in:
parent
2b5be7fbd9
commit
6ef7655dbd
14 changed files with 109 additions and 23 deletions
|
|
@ -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": []
|
||||
|
|
|
|||
|
|
@ -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`
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue