waybar: remove mouse scroll settings from Pulseaudio module

otherwise it starts consuming up to 100% CPU
since the module already has built-in support for volume control with the mouse wheel,
and with an additional command to change the volume with the wheel, it connects to two sound servers
This commit is contained in:
Aleksey Samoilov 2023-11-14 15:34:09 +04:00
parent 96bf4e01ab
commit 980709e712

View file

@ -157,9 +157,7 @@
"tooltip-format": "{icon} {volume}% {format_source}", "tooltip-format": "{icon} {volume}% {format_source}",
"on-click": "alacritty --class floating_shell -e pulsemixer", "on-click": "alacritty --class floating_shell -e pulsemixer",
"on-click-middle": "pulsemixer --toggle-mute && /usr/share/river/scripts/volume-notify.sh", "on-click-middle": "pulsemixer --toggle-mute && /usr/share/river/scripts/volume-notify.sh",
"on-click-right": "pavucontrol", "on-click-right": "pavucontrol"
"on-scroll-up": "pulsemixer --change-volume +5 && /usr/share/river/scripts/volume-notify.sh",
"on-scroll-down": "pulsemixer --change-volume -5 && /usr/share/river/scripts/volume-notify.sh"
}, },
"clock": { "clock": {