yambar-modules-pipewire(5)
π§ NAME π
okay so bestie, welcome to yambar-modules-pipewire(5) β this page is all about the pipewire module, and its whole main-character job is Monitors pipewire for volume, mute/unmute, device change β¨
π·οΈ TAGS β¨
ngl, here's the full tag lineup β every single one is iconic, no cap:
typeβ string β Either "source" (capture) or "sink" (speaker)nameβ string β Current device namedescriptionβ string β Current device descriptionform_factorβ string β Current device form factor (headset, speaker, mic, etc)busβ string β Current device bus (bluetooth, alsa, etc)iconβ string β Current device icon namemutedβ bool β True if muted, otherwise falselinear_volumeβ range β Linear volume in percentage (with 0 as min and 100 as max)cubic_volumeβ range β Cubic volume (used by pulseaudio) in percentage (with 0 as min and 100 as max)
βοΈ CONFIGURATION π«Ά
contentβ particle β Req: 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 π
this example is giving full bar energy, fr fr:
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
π SEE ALSO π¦
go check these besties too:
π source/version: yambar-modules-pipewire(5) Β· date: 2024-04-22 β mwah, stay hydrated and slay your bar π
π
π¦ where this page comes from
- opensuse-leap 16.0: yambar 1.11.0-bp160.1.14 Β· MIT
- opensuse-leap 16.0: yambar 1.11.0-bp160.1.14 Β· MIT
- opensuse-leap 16.0: yambar 1.11.0-bp160.1.14 Β· MIT
- opensuse-leap 16.0: yambar 1.11.0-bp160.1.14 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms