Skip to content

Widgets

Widget definitions are optional. When a name in a widget list matches a [widget.<name>] entry, that entry’s type and settings are used. When there is no match, the name itself is treated as the widget type with default settings.

Middle-click a bar widget to open Settings directly to that widget’s configuration.

[widget.<name>]
type = "<widget-type>" # defaults to <name> when omitted
scale = 1.0 # multiplies the owning bar's scale for this widget only
enabled = true # show or hide this widget on the bar
# ...widget-specific settings

This allows multiple named widgets with the same widget type:

[widget.clock-seconds]
type = "clock"
format = "{:%H:%M:%S}"
[bar.default]
end = ["clock", "clock-seconds"] # two clock widgets, different formats

Configure click, scroll, and thumb-button bindings under Widget Actions. Configure shared capsule styling under Bar → Widget Capsule.

Custom bar widgets are provided by plugins. A plugin’s bar-widget entry is referenced by its fully-qualified id; the plugin’s manifest declares any settings it exposes. See Plugins for installing, enabling, and authoring.

[widget.my_widget]
type = "<author>/<plugin>:<entry>" # e.g. "noctalia/screen_recorder:recorder"