Skip to content

Commit c382b8a

Browse files
committed
docs(v5): add active window scrolling & min length infos
1 parent cf4342f commit c382b8a

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

src/content/docs/v5/bar/widgets.mdx

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,27 @@ group_by_workspace = true
110110

111111
---
112112

113+
## `active_window`
114+
115+
Shows the active window icon and title for the current output.
116+
117+
| Setting | Type | Default | Description |
118+
|---------|------|---------|-------------|
119+
| `min_length` | number | `80` | Minimum widget length in pixels |
120+
| `max_length` | number | `260` | Maximum widget length in pixels |
121+
| `icon_size` | number | `14` | Icon size in pixels |
122+
| `title_scroll` | string | `"none"` | Title scrolling mode: `"none"`, `"always"`, or `"on_hover"` |
123+
124+
```toml
125+
[widget.active_window]
126+
min_length = 80
127+
max_length = 260
128+
icon_size = 14
129+
title_scroll = "on_hover"
130+
```
131+
132+
---
133+
113134
## `control-center`
114135

115136
Opens the control center panel on click.

0 commit comments

Comments
 (0)