waybar: Switch from pulseaudio to wireplumber module

This commit is contained in:
Erwin Boskma 2023-04-22 17:28:14 +02:00
parent d7d2f5df55
commit bdff44b907
Signed by: erwin
SSH key fingerprint: SHA256:CyeNoWXd3kjX2Nwu6pDxxdS7OqmPVOy0NavA/KU/ntU

View file

@ -36,7 +36,7 @@ in
"cpu" "cpu"
"temperature" "temperature"
"custom/keyboard-layout" "custom/keyboard-layout"
"pulseaudio" "wireplumber"
"tray" "tray"
"clock#date" "clock#date"
"clock#time" "clock#time"
@ -139,10 +139,8 @@ in
}; };
}; };
"pulseaudio" = { "wireplumber" = {
#scroll-step = 1;
format = "{icon} {volume}%"; format = "{icon} {volume}%";
format-bluetooth = "{icon} {volume}%";
format-muted = ""; format-muted = "";
format-icons = { format-icons = {
headphones = ""; headphones = "";
@ -153,7 +151,8 @@ in
car = ""; car = "";
default = [ "" "奔" "" ]; default = [ "" "奔" "" ];
}; };
on-click = "pavucontrol"; on-click = "${pkgs.pavucontrol}/bin/pavucontrol";
on-click-middle = "${pkgs.helvum}/bin/helvum";
}; };
"temperature" = { "temperature" = {