Polybar Modules pipewire - ulises-jeremias/dotfiles GitHub Wiki

🔊 Polybar Module: PipeWire Volume

The PipeWire Volume module shows the current volume level and mute state of your default audio sink. It comes in two variants — a clean icon display or a full visual bar.

Tip

Designed for users using PipeWire, this module lets you monitor and control sound output directly from Polybar.


🎛️ Available Variants

1. pipewire

A minimalist wrapper around the internal/pipewire module.

Displays:

  • Volume percentage (e.g., 75%)
  • Mute state

Example Previews:

Muted 75% 100%

2. pipewire-bar

Wraps the pipewire module to show a visual bar-style representation of volume.

Example Previews:

Muted 75% 100%

⚙️ Configuration Tips

Basic example for pipewire:

[module/pipewire]
type = internal/pipewire
format-volume = 🔊  %percentage%%
format-muted = 🔇  muted

And for pipewire-bar:

[module/pipewire-bar]
type = internal/pipewire
format-volume = <label-volume> <bar-volume>
bar-volume-width = 10
bar-volume-gradient = true

Tip

Both variants use the same data source — only the format and visualization differ.


✅ Requirements

  • PipeWire properly installed and running
  • Polybar with internal/pipewire module support (v3.5+)

Choose the flavor that fits your setup — whether you prefer a sleek icon or a detailed volume bar. 🔈📊

⚠️ **GitHub.com Fallback** ⚠️