config: add keyboard-focus window criteria
This commit is contained in:
parent
eb172e9d8c
commit
91c948b219
15 changed files with 95 additions and 4 deletions
|
|
@ -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": []
|
||||
|
|
|
|||
|
|
@ -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`
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue