Skip to content

sound block: volume doesn't update #2083

@Dieterbe

Description

@Dieterbe

i used to use pipewire-pulse, but got rid of that, as i don't seem to need it. so now i use pure pipewire.

https://docs.rs/i3status-rs/latest/i3status_rs/blocks/sound/index.html says:

This block displays the volume level (according to PulseAudio or ALSA). Right click to toggle mute, scroll to adjust volume.
Requires a PulseAudio installation or alsa-utils for ALSA.
Note that if you are using PulseAudio commands (such as pactl) to control your volume, you should select the "pulseaudio" (or "auto") driver to see volume changes that exceed 100%.

i don't have pulseaudio installed, but i do have alsa-utils installed. (and libpulse which i think is how apps talk to pipewire, which implements the pulseaudio API)

when i scroll, it changes the volume as expected, however the number shown doesn't update.
(i'm not trying to go over 100%, in fact i start from 100 and go down. i used to be able to go over 100 with pulseaudio, but it doesn't seem to possible with the pure pipewire stack, but i can look into that separately)

my config is trivial:

[[block]]
block = "sound"
[[block.click]]
button = "left"
cmd = "i3-msg workspace 8"

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions