-
-
Notifications
You must be signed in to change notification settings - Fork 732
Module: PulseAudio
Caleb Bassi edited this page Dec 28, 2018
·
25 revisions
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.
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-icons |
array | Based on the current port-name and volume, the corresponding icon gets selected. The order is low to high. See Icons
|
|
max-length |
integer | The maximum length in character the module should display. | |
scroll-step |
integer | 1 | The speed in which to change the volume when scrolling. |
on-click |
string | Command to execute when clicked on the module. | |
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 beaviour of volume control. |
|
on-scroll-down |
string | Command to execute when scrolling down on the module. This replaces the default beaviour of volume control. |
string | replacement |
---|---|
{volume} |
Volume in percentage |
{icon} |
Icon, as defined in format-icons . |
The folowing strings for format-icons
are supported. 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. |
headphones |
|
speaker |
|
hdmi |
|
headset |
|
handsfree |
|
portable |
|
car |
|
hifi |
|
phone |
"pulseaudio": {
"format": "{volume}% {icon}",
"format-bluetooth": "{volume}% {icon}",
"format-muted": "",
"format-icons": {
"headphones": "",
"handsfree": "",
"headset": "",
"phone": "",
"portable": "",
"car": "",
"default": ["", ""]
},
"scroll-step": 1,
"on-click": "pavucontrol"
}
#pulseaudio
#pulseaudio.bluetooth
#pulseaudio.muted
- Home
- Installation
- Configuration
- Styling
- Examples
- FAQ
- Modules:
- Backlight/Slider
- Backlight
- Battery
- Bluetooth
- CPU
- Cava
- 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