From a3a2b263d15af91484f8a8a2a7f78b6c2735db54 Mon Sep 17 00:00:00 2001 From: Sunderland93 Date: Tue, 14 Nov 2023 15:28:06 +0400 Subject: [PATCH] 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 --- 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 70562d8..ef31a3f 100644 --- a/etc/skel/.config/waybar/config.jsonc +++ b/etc/skel/.config/waybar/config.jsonc @@ -199,9 +199,7 @@ "tooltip-format": "{icon}  {volume}% {format_source}", "on-click": "swaymsg exec \\$flock \\$pulseaudio", "on-click-middle": "swaymsg exec \\$volume_mute", - "on-click-right": "swaymsg exec pavucontrol", - "on-scroll-up": "swaymsg exec \\$volume_up", - "on-scroll-down": "swaymsg exec \\$volume_down" + "on-click-right": "swaymsg exec pavucontrol" }, "clock": {