waybar: remove mouse scrolling 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:28:06 +04:00
parent 57db7a8c2e
commit a3a2b263d1

View file

@ -199,9 +199,7 @@
"tooltip-format": "{icon} {volume}% {format_source}", "tooltip-format": "{icon} {volume}% {format_source}",
"on-click": "swaymsg exec \\$flock \\$pulseaudio", "on-click": "swaymsg exec \\$flock \\$pulseaudio",
"on-click-middle": "swaymsg exec \\$volume_mute", "on-click-middle": "swaymsg exec \\$volume_mute",
"on-click-right": "swaymsg exec pavucontrol", "on-click-right": "swaymsg exec pavucontrol"
"on-scroll-up": "swaymsg exec \\$volume_up",
"on-scroll-down": "swaymsg exec \\$volume_down"
}, },
"clock": { "clock": {