switch to wireplumber waybar module and split into sink and source

This commit is contained in:
Clayton Hickey 2025-10-15 16:41:37 -04:00
parent 2149150c7f
commit c3431f8283

View file

@ -208,7 +208,8 @@ let cfg = config.cos.hyprland; in
];
"modules-right" = [
"mpd"
"pulseaudio"
"wireplumber#sink"
"wireplumber#source"
"network"
"cpu"
"memory"
@ -222,27 +223,17 @@ let cfg = config.cos.hyprland; in
format-icons = [""];
tooltip = false;
};
pulseaudio = {
"format" = "{volume}% {icon} {format_source}";
"format-bluetooth" = "{volume}% {icon} {format_source}";
"format-bluetooth-muted" = " {icon} {format_source}";
"format-muted" = " {format_source}";
"format-source" = "{volume}% ";
"format-source-muted" = "";
"format-icons" = {
"headphone" = "";
"hands-free" = "";
"headset" = "";
"phone" = "";
"portable" = "";
"car" = "";
"default" = [
""
""
""
];
"wireplumber#sink" = {
"node-type" = "Audio/Sink";
"format" = "{volume}% 🔊";
"format-muted" = "🔇";
"on-click" = "pwvucontrol";
};
"on-click" = "pavucontrol";
"wireplumber#source" = {
"node-type" = "Audio/Source";
"format" = "{volume}% 🎤";
"format-muted" = "X";
"on-click" = "pwvucontrol";
};
cpu = {
format = "{usage}% ";