1
0
Fork 0
forked from wry/wry

config: add app-id window criteria

This commit is contained in:
Julian Orth 2025-05-01 18:27:42 +02:00
parent 6ef7655dbd
commit da64166e82
13 changed files with 102 additions and 24 deletions

View file

@ -1787,6 +1787,14 @@
"title-regex": {
"type": "string",
"description": "Matches the title of the window with a regular expression."
},
"app-id": {
"type": "string",
"description": "Matches the app-id of the window verbatim."
},
"app-id-regex": {
"type": "string",
"description": "Matches the app-id of the window with a regular expression."
}
},
"required": []

View file

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

View file

@ -3475,6 +3475,14 @@ WindowMatch:
kind: string
required: false
description: Matches the title of the window with a regular expression.
app-id:
kind: string
required: false
description: Matches the app-id of the window verbatim.
app-id-regex:
kind: string
required: false
description: Matches the app-id of the window with a regular expression.
WindowMatchExactly: