pipewire - Monitors pipewire for volume, mute/unmute, device change
Contents
Configuration
┌─────────┬──────────┬─────┬────────────────────────────────────────────────────────────────────────────┐
│ Name │ Type │ Req │ Description │
├─────────┼──────────┼─────┼────────────────────────────────────────────────────────────────────────────┤
│ content │ particle │ yes │ Unlike other modules, content is a template particle that will be expanded │
│ │ │ │ twice (i.e. into a list of two elements). The first element is the 'sink', │
│ │ │ │ and the second element the 'source'. │
└─────────┴──────────┴─────┴────────────────────────────────────────────────────────────────────────────┘
Examples
bar:
left:
- pipewire:
anchors:
volume: &volume
conditions:
muted: {string: {text: "{linear_volume}%", foreground: ff0000ff}}
~muted: {string: {text: "{linear_volume}%"}}
content:
list:
items:
- map:
conditions:
type == "sink":
map:
conditions:
icon == "audio-headset-bluetooth":
string: {text: "🎧 "}
default:
- ramp:
tag: linear_volume
items:
- string: {text: "🔈 "}
- string: {text: "🔉 "}
- string: {text: "🔊 "}
type == "source":
- string: {text: "🎙 "}
- map:
<<: *volume
Name
pipewire - Monitors pipewire for volume, mute/unmute, device change
See Also
yambar-modules(5), yambar-particles(5), yambar-tags(5), yambar-decorations(5)
2024-04-20 yambar-modules-pipewire(5)
