mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-04-22 12:25:38 +02:00
doc: yambar-modules: talk about i3::application/title vs xwindow
This commit is contained in:
parent
e6f6f8a149
commit
11568b2523
1 changed files with 9 additions and 5 deletions
|
@ -322,11 +322,14 @@ Unlike other modules where the _content_ attribute is just a single
|
||||||
*particle*, the i3 module's _content_ is an associative array mapping
|
*particle*, the i3 module's _content_ is an associative array mapping
|
||||||
i3/sway workspace names to a particle.
|
i3/sway workspace names to a particle.
|
||||||
|
|
||||||
You can specify a default particle to use with an empty workspace
|
You can add an empty workspace name, *""*, as a catch-all workspace
|
||||||
name, *""*.
|
particle. The *i3* module will fallback to this entry if it cannot
|
||||||
|
find the workspace name in the _content_ map.
|
||||||
|
|
||||||
It also recognizes the special name *current*, which always represents
|
It also recognizes the special name *current*, which always represents
|
||||||
the currently focused workspace.
|
the currently focused workspace. On Sway, this can be used together
|
||||||
|
with the _application_ and _title_ tags to replace the X11-only
|
||||||
|
*xwindow* module.
|
||||||
|
|
||||||
## TAGS
|
## TAGS
|
||||||
|
|
||||||
|
@ -351,7 +354,7 @@ the currently focused workspace.
|
||||||
*unfocused* is when it is visible, but neither focused nor urgent).
|
*unfocused* is when it is visible, but neither focused nor urgent).
|
||||||
| application
|
| application
|
||||||
: string
|
: string
|
||||||
: Name of application currently focused on this workspace (Sway only)
|
: Name of application currently focused on this workspace (Sway only - use the *xwindow* module in i3)
|
||||||
| title
|
| title
|
||||||
: string
|
: string
|
||||||
: This workspace's focused window's title
|
: This workspace's focused window's title
|
||||||
|
@ -741,7 +744,8 @@ This module provides the application name and window title of the
|
||||||
currently focused window.
|
currently focused window.
|
||||||
|
|
||||||
Note: this module is X11 only. It does not work in Wayland. If you are
|
Note: this module is X11 only. It does not work in Wayland. If you are
|
||||||
running Sway, take a look at the _i3_ module and its _current_ tag.
|
running Sway, take a look at the *i3* module and its _application_ and
|
||||||
|
_title_ tags.
|
||||||
|
|
||||||
## TAGS
|
## TAGS
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue