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:
parent
57db7a8c2e
commit
a3a2b263d1
1 changed files with 1 additions and 3 deletions
|
@ -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": {
|
||||||
|
|
Loading…
Add table
Reference in a new issue