forked from external/yambar
module/i3: workspace::focus is apparently Sway only
On i3, users are currently greeted with: err: modules/i3.c:94: workspace reply/event without 'name' and/or 'output', and/or 'focus' properties This patch makes ‘focus’ an optional attribute. When missing, we assume a node-count of 0, which means the workspace’s ‘empty’ tag will always be true. Document this in the i3 man page.
This commit is contained in:
parent
1ce108f24e
commit
c44970717b
3 changed files with 18 additions and 7 deletions
|
@ -37,7 +37,7 @@ with the _application_ and _title_ tags to replace the X11-only
|
|||
: True if the workspace has the urgent flag set
|
||||
| empty
|
||||
: bool
|
||||
: True if the workspace is empty
|
||||
: True if the workspace is empty (Sway only)
|
||||
| state
|
||||
: string
|
||||
: One of *urgent*, *focused*, *unfocused* or *invisible* (note:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue