| Crates.io | waybar-volume |
| lib.rs | waybar-volume |
| version | 1.5.0 |
| created_at | 2025-05-18 07:17:39.023747+00 |
| updated_at | 2025-05-18 12:16:14.471229+00 |
| description | Interacts with wireplumber to control the volume |
| homepage | |
| repository | |
| max_upload_size | |
| id | 1678435 |
| size | 7,603 |
A custom Waybar module written in Rust that:
wpctl (part of WirePlumber)cargo)Install using Cargo:
cargo install waybar-volume
Ensure ~/.cargo/bin is in your PATH.
Add the following to your Waybar config (~/.config/waybar/config.jsonc):
{
"custom/volume": {
"exec": "waybar-volume",
"on-click": "waybar-volume click-left",
"on-scroll-up": "waybar-volume scroll-up",
"on-scroll-down": "waybar-volume scroll-down",
"interval": 1,
"return-type": "json"
}
}
When volume is 45%, not muted:
🔉
When muted:
🔇
Tooltip will show:
Volume: 45%
wpctl is installed and @DEFAULT_AUDIO_SINK@ is available.wayland-volume manually if no output appears in Waybar.MIT - do whatever you want.