Page:
Module: PulseAudio
Pages
Abrar's Waybar
Add a custom plugin.
Anik's waybar config (super waybar)
Ariacna Æsama
Arkboi
Chocolate & Cream
Configuration
Dynamic wallust powered waybar
ERS’ waybar
Examples
FAQ
Home
Installation
JohanChane's waybar
Module: Backlight Slider
Module: Backlight
Module: Battery
Module: Bluetooth
Module: CFFI
Module: CPU
Module: Cava
Module: Cava: GLSL
Module: Cava: Raw
Module: Clock
Module: Custom
Module: Custom: Examples
Module: Custom: Menu
Module: Custom: Third party
Module: Disk
Module: Dwl
Module: Gamemode
Module: Group
Module: Hyprland
Module: Idle Inhibitor
Module: Image
Module: JACK
Module: Keyboard State
Module: Language
Module: Load
Module: MPD
Module: MPRIS
Module: Memory
Module: Network
Module: Niri
Module: PowerProfilesDaemon
Module: Privacy
Module: PulseAudio Slider
Module: PulseAudio
Module: River
Module: Sndio
Module: Sway
Module: Systemd failed units
Module: Taskbar
Module: Temperature
Module: Tray
Module: UPower
Module: User
Module: WirePlumber
Module: Workspaces
Modules
Simple and Attractive
States
Styling
That's all bitches
Themes
Thos' config based on pywal
Tray Applets
Writing Modules
apachaiz's waybar
d00m1k's configuration
lingllqs's simple dark style configuration
mechabar
mudi4's waybar
new waylyrics
nitrobigchill's waybar
rdk‐codes configuration
waybar config
Clone
Table of Contents
The pulseaudio module displays the current volume reported by PulseAudio.
Additionally you can control the volume by scrolling up or down while the cursor is over the module.
Config
| option | typeof | default | description |
|---|---|---|---|
format |
string | {volume}% |
The format, how information should be displayed. This format is used when other formats aren't specified. |
format-bluetooth |
string | This format is used when using bluetooth speakers. | |
format-muted |
string | This format is used when the sound is muted. | |
format-source |
string | {volume}% |
This format used for the source. |
format-source-muted |
string | This format is used when the source is muted. | |
format-icons |
array | Based on the current port-name and volume, the corresponding icon gets selected. The order is low to high. See Icons |
|
rotate |
integer | Positive value to rotate the text label. | |
states |
array | A number of volume states which get activated on certain volume levels. See States |
|
max-length |
integer | The maximum length in character the module should display. | |
scroll-step |
float | 1.0 | The speed in which to change the volume when scrolling. |
on-click |
string | Command to execute when clicked on the module. | |
on-click-middle |
string | Command to execute when you middle clicked on the module using mousewheel. | |
on-click-right |
string | Command to execute when you right clicked on the module. | |
on-scroll-up |
string | Command to execute when scrolling up on the module. This replaces the default behaviour of volume control. |
|
on-scroll-down |
string | Command to execute when scrolling down on the module. This replaces the default behaviour of volume control. |
|
smooth-scrolling-threshold |
double | Threshold to be used when scrolling. | |
tooltip |
bool | true |
Option to enable tooltip on hover. |
tooltip-format |
string | {desc} |
Tooltip on hover. |
max-volume |
integer | 100 | The maximum volume that can be set, in percentage. |
ignored-sinks |
array | List of sinks to ignore, by description. Use pactl list sinks to find the correct description. |
|
reverse-scrolling |
bool | false | Option to reverse the scroll direction for devices other than a mouse (touchpad, trackpad, etc) |
reverse-mouse-scrolling |
bool | false | Option to reverse the scroll direction for mice |
Format replacements:
| string | replacement |
|---|---|
{volume} |
Volume in percentage |
{icon} |
Icon, as defined in format-icons. |
{format_source} |
Source format, format-source, format-source-muted. |
{desc} |
Pulseaudio port's description, for bluetooth it'll be the device name. |
Icons:
The following strings for format-icons are supported.
| string | note |
|---|---|
[the device name] |
Looks something like alsa_output.pci-0000_00_1f.3.3.analog-stereo.You can use a PulseAudio frontend to find this such as pacmd list-sinks or pamixer --list-sinks |
If they are found in the current PulseAudio port name, the corresponding icons will be selected.
| string | note |
|---|---|
default |
Will be shown, when no other port is found. |
headphone |
headphones until 0.9.0 |
speaker |
|
hdmi |
|
headset |
|
hands-free |
handsfree until 0.9.0 |
portable |
|
car |
|
hifi |
|
phone |
Additionally, suffixing a device name or port with -muted will cause the icon to be selected when the corresponding audio device is muted. This applies to default as well.
Example:
"pulseaudio": {
"format": "{volume}% {icon}",
"format-bluetooth": "{volume}% {icon}",
"format-muted": "",
"format-icons": {
"alsa_output.pci-0000_00_1f.3.analog-stereo": "",
"alsa_output.pci-0000_00_1f.3.analog-stereo-muted": "",
"headphone": "",
"hands-free": "",
"headset": "",
"phone": "",
"phone-muted": "",
"portable": "",
"car": "",
"default": ["", ""]
},
"scroll-step": 1,
"on-click": "pavucontrol",
"ignored-sinks": ["Easy Effects Sink"]
}
Style
#pulseaudio#pulseaudio.bluetooth#pulseaudio.muted#pulseaudio.source-muted
- Home
- Installation
- Configuration
- Styling
- Examples
- FAQ
- Modules:
- Backlight/Slider
- Backlight
- Battery
- Bluetooth
- CPU
- Cava
- CFFI
- Clock
- Custom
- DWL
- Disk
- Gamemode
- Group
- Hyprland
- Idle Inhibitor
- Image
- JACK
- Keyboard State
- Language
- Load
- MPD
- MPRIS
- Memory
- Network
- Niri
- Power Profiles Daemon
- Privacy
- PulseAudio/Slider
- PulseAudio
- River
- Sndio
- Sway
- Systemd failed units
- Taskbar
- Temperature
- Tray
- UPower
- User
- WirePlumber
- Workspaces
- Writing Modules