Skip to main content

Module render

Module render 

Source
Expand description

Pango-markup rendering for the Anthropic widget — both the bar text and the bordered tooltip.

Closely mirrors claudebar:625-860. Pure functions over an immutable RenderInput so all of the visual logic is unit-testable without I/O.

Structs§

RenderInput
All inputs needed to render the widget — packaged so tests can construct it without any I/O.

Constants§

DEFAULT_FORMAT
Default format string when --format is omitted (claudebar:55).

Functions§

render_anthropic
Compose the full Waybar output for an Anthropic snapshot.