Man page - yambar-modules-i3(5)

Packages contains this manual

Manual

yambar-modules-i3

NAME
DESCRIPTION
TAGS
CONFIGURATION
EXAMPLES
SEE ALSO

NAME

i3 - This module monitors i3 and sway workspaces

DESCRIPTION

Unlike other modules where the content attribute is just a single particle , the i3 module’s content is an associative array mapping i3/sway workspace names to a particle.

You can add an empty workspace name, "" , as a catch-all workspace 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 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

Image grohtml-4146644-1.png

CONFIGURATION

Image grohtml-4146644-2.png

EXAMPLES

This renders all workspace names, with an * indicating the currently focused one. It also renders the currently focused application name and window title.

bar:
left:
- i3:
content:
"":
map:
default: {string: {text: "{name}"}}
conditions:
state == focused: {string: {text: "{name}*"}}
current: { string: {text: "{application}: {title}"}}

SEE ALSO

yambar-modules (5), yambar-particles (5), yambar-tags (5), yambar-decorations (5)