Man page - yambar-tags(5)

Packages contains this manual

Manual

yambar-tags

NAME
DESCRIPTION
FORMATTING
EXAMPLES

NAME

yambar-tags - configuration file

DESCRIPTION

Tags are the data carriers; it is through tags that modules expose their information. Each module defines its own set of tags.

The available tag types are:

Image grohtml-4155288-1.png

FORMATTING

A tag may be followed by one or more formatters that alter the tags rendition.

Formatters are added by appending a ’:’ separated list of formatter names:

"{tag_name:max:hex}"

In the table below, "kind" describes the type of action performed by the formatter:

β€’

format : changes the representation of the tag’s value

β€’

selector : changes what to render

In general, formatters of the same kind cannot be combined; if multiple formatters of the same kind are specified, the last one will be used.

Image grohtml-4155288-2.png

EXAMPLES

β€’

A numeric (float or int) tag with at least 3 digits, zero-padded if necessary:

{tag:03}

β€’

A float tag with 2 decimals:

{tag:.2}

β€’

A "byte count" tag in gigabytes:

{tag:gib}GB