You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/docs/v5/bar/index.mdx
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -116,6 +116,7 @@ Set under `[bar.<name>]` or `[bar.<name>.monitor.*]`:
116
116
|---------|------|---------|-------------|
117
117
|`capsule`| bool |`false`|`true` gives every widget a capsule unless `[widget.*]` sets `capsule = false`. |
118
118
|`color`| string |*(unset)*| Default icon + label color role or hex color for every widget on this bar. |
119
+
|`capsule_groups`| array of string |`[]`| Managed capsule group names for nearby widgets on this bar. |
119
120
|`capsule_fill`| string |`surface_variant`| Default capsule background color role or hex color. |
120
121
|`capsule_foreground`| string |*(unset)*| Default icon + label color role or hex color for capped widgets. |
121
122
|`capsule_padding`| number |`6`| Inner padding in logical pixels before `scale` is applied (clamped 0–48). |
@@ -129,6 +130,7 @@ Set under `[widget.<name>]`:
129
130
| Setting | Type | Default | Description |
130
131
|---------|------|---------|-------------|
131
132
|`capsule`| bool |*(from bar)*| Omit to inherit bar flag; `false` disables; `true` forces on. |
133
+
|`capsule_group`| string |*(unset)*| Select one of the bar's managed capsule group names. Nearby widgets in the same section with the same non-empty value and matching capsule styling share one capsule. |
132
134
|`capsule_fill`| string |*(from bar)*| Capsule background color role or hex color. |
133
135
|`capsule_foreground`| string |*(from bar)*| Icon + label color role or hex color when capsule is visible. `color` takes priority over this. |
134
136
|`capsule_padding`| number |*(from bar)*| Per-widget inner padding (0–48). |
@@ -143,6 +145,7 @@ The capsule is hidden automatically when a widget reports no visible ink (empty
0 commit comments