1
0
Fork 0
forked from wry/wry

config: add keyboard-focus window criteria

This commit is contained in:
Julian Orth 2025-05-01 18:43:54 +02:00
parent eb172e9d8c
commit 91c948b219
15 changed files with 95 additions and 4 deletions

View file

@ -1807,6 +1807,10 @@
"urgent": {
"type": "boolean",
"description": "Matches if the window has/hasn't the urgency flag set."
},
"focused": {
"type": "boolean",
"description": "Matches if the window has/hasn't the keyboard focus."
}
},
"required": []

View file

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

View file

@ -3495,6 +3495,10 @@ WindowMatch:
kind: boolean
required: false
description: Matches if the window has/hasn't the urgency flag set.
focused:
kind: boolean
required: false
description: Matches if the window has/hasn't the keyboard focus.
WindowMatchExactly: