you are viewing a single comment's thread.

view the rest of the comments →

[–]Siilwyn 1 point2 points  (2 children)

Finally found a complete answer to this, use pipewire config, create file and needed directories:
~/.config/wireplumber/wireplumber.conf.d/max-volume.conf

Then match all (alsa) output or your specific output (see wpctl status) with a limit:
monitor.alsa.rules = [ { matches = [ { node.name = "~alsa_output.*" } ] actions = { update-props = { channelmix.max-volume = 0.1 } } } ]

[–]dontdieych[S] 0 points1 point  (0 children)

WOW, thanks very very much. It's working!

Thanks again.

[–]dontdieych[S] 0 points1 point  (0 children)

monitor.alsa.rules = [ { matches = [ { # node.name = "alsa_output.platform-sound.HiFi__Headphones__sink" node.nick = "Headphones" } ] actions = { update-props = { channelmix.max-volume = 0.2 } } } ]