1
0
Fork 0
forked from wry/wry

config: add floating window criteria

This commit is contained in:
Julian Orth 2025-05-01 18:31:59 +02:00
parent da64166e82
commit 8bb8b2a649
14 changed files with 78 additions and 14 deletions

View file

@ -1795,6 +1795,10 @@
"app-id-regex": {
"type": "string",
"description": "Matches the app-id of the window with a regular expression."
},
"floating": {
"type": "boolean",
"description": "Matches if the window is/isn't floating."
}
},
"required": []

View file

@ -4034,6 +4034,12 @@ The table has the following fields:
The value of this field should be a string.
- `floating` (optional):
Matches if the window is/isn't floating.
The value of this field should be a boolean.
<a name="types-WindowMatchExactly"></a>
### `WindowMatchExactly`

View file

@ -3483,6 +3483,10 @@ WindowMatch:
kind: string
required: false
description: Matches the app-id of the window with a regular expression.
floating:
kind: boolean
required: false
description: Matches if the window is/isn't floating.
WindowMatchExactly: