From 980709e712288514302aa529ed88b1cbfec71c4e Mon Sep 17 00:00:00 2001 From: Sunderland93 Date: Tue, 14 Nov 2023 15:34:09 +0400 Subject: [PATCH] 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 --- etc/skel/.config/waybar/config.jsonc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/etc/skel/.config/waybar/config.jsonc b/etc/skel/.config/waybar/config.jsonc index f20123b..4de3a74 100644 --- a/etc/skel/.config/waybar/config.jsonc +++ b/etc/skel/.config/waybar/config.jsonc @@ -157,9 +157,7 @@ "tooltip-format": "{icon}  {volume}% {format_source}", "on-click": "alacritty --class floating_shell -e pulsemixer", "on-click-middle": "pulsemixer --toggle-mute && /usr/share/river/scripts/volume-notify.sh", - "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" + "on-click-right": "pavucontrol" }, "clock": {