Skip to content

Commit 354da3f

Browse files
committed
docs(v5): add volume input & output info
1 parent 87d01aa commit 354da3f

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

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

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,15 +198,25 @@ path = "/"
198198

199199
## `volume`
200200

201-
Shows the default audio sink volume and mute state via PipeWire.
201+
Shows PipeWire output (speaker) or input (microphone) volume and mute state.
202202

203203
| Setting | Type | Default | Description |
204204
|---------|------|---------|-------------|
205+
| `device` | string | `"output"` | Audio target: `"output"` (default sink) or `"input"` (default source / microphone) |
205206
| `show_label` | bool | `true` | Show the volume percentage next to the glyph (horizontal and vertical bars) |
206207

207208
```toml
208209
[widget.volume]
210+
device = "output" # output | input
209211
show_label = false
212+
213+
[widget.input-volume]
214+
type = "volume"
215+
device = "input"
216+
217+
[widget.output-volume]
218+
type = "volume"
219+
device = "output"
210220
```
211221

212222
### IPC

0 commit comments

Comments
 (0)