Closed SilverRainZ closed 2 years ago
i'm curious: do you have an alternative tray you use instead?
I only use pnmixer's volume adjustment function, on Wayland, I use waybar to have a tray for displaying the current volume and media keys for volume adjustment (bind by sway).
oh that's fascinating, i also use waybar! but i am not a fan of the modules I put there, so I was looking for alternatives. i found pasystray which also doubles as a notification daemon which is really nice, so I'll probably switch to that. otherwise I'm curious: what is your waybar configuration?
Nothing fancy, just some trivial configuration: https://github.com/SilverRainZ/dotfiles/blob/master/.config/waybar/config#L63
interesting, mine looks like:
"pulseaudio": {
// "scroll-step": 1, // %, can be a float
"format": "{volume}% {icon} {format_source}",
"format-bluetooth": "{volume}% {icon} {format_source}",
"format-bluetooth-muted": " {icon} {format_source}",
"format-muted": " {format_source}",
"format-source": "{volume}% ",
"format-source-muted": "{volume}% ",
"format-icons": {
"headphone": "",
"hands-free": "",
"headset": "",
"phone": "",
"portable": "",
"car": "",
"default": ["", "", ""]
},
"max-volume": 150,
"on-click": "i3-pa-mixer.py mute-mic",
"on-click-right": "pavucontrol"
}
maybe i should look at wireplumber instead!
i find that having a bar item just for volume, permanently present, is kind of silly. i really like the "pop up on state change" and "mouse-over on icon to change" UI instead...
you might need wob (or any other similar project)? it will pop up a progress bar when the volume changes. Of course, you need some configuration: https://github.com/SilverRainZ/dotfiles/blob/master/.config/sway/config#L315
yeah nah... not a fan of those socket-based approaches, because then you need to hook up everything onto this. i prefer to have daemons reacting to dbus events that push standard notifications instead, which is how poweralertd and pasystray work...
问题类型 / Type of issues
受影响的软件包 / Affected packages
PNMixer does not support Wayland (https://github.com/nicklan/pnmixer/issues/190) so I no longer use it.