switch to wireplumber waybar module and split into sink and source
This commit is contained in:
parent
2149150c7f
commit
c3431f8283
1 changed files with 13 additions and 22 deletions
35
hyprland.nix
35
hyprland.nix
|
|
@ -208,7 +208,8 @@ let cfg = config.cos.hyprland; in
|
||||||
];
|
];
|
||||||
"modules-right" = [
|
"modules-right" = [
|
||||||
"mpd"
|
"mpd"
|
||||||
"pulseaudio"
|
"wireplumber#sink"
|
||||||
|
"wireplumber#source"
|
||||||
"network"
|
"network"
|
||||||
"cpu"
|
"cpu"
|
||||||
"memory"
|
"memory"
|
||||||
|
|
@ -222,28 +223,18 @@ let cfg = config.cos.hyprland; in
|
||||||
format-icons = [""];
|
format-icons = [""];
|
||||||
tooltip = false;
|
tooltip = false;
|
||||||
};
|
};
|
||||||
pulseaudio = {
|
"wireplumber#sink" = {
|
||||||
"format" = "{volume}% {icon} {format_source}";
|
"node-type" = "Audio/Sink";
|
||||||
"format-bluetooth" = "{volume}% {icon} {format_source}";
|
"format" = "{volume}% 🔊";
|
||||||
"format-bluetooth-muted" = " {icon} {format_source}";
|
"format-muted" = "🔇";
|
||||||
"format-muted" = " {format_source}";
|
"on-click" = "pwvucontrol";
|
||||||
"format-source" = "{volume}% ";
|
|
||||||
"format-source-muted" = "";
|
|
||||||
"format-icons" = {
|
|
||||||
"headphone" = "";
|
|
||||||
"hands-free" = "";
|
|
||||||
"headset" = "";
|
|
||||||
"phone" = "";
|
|
||||||
"portable" = "";
|
|
||||||
"car" = "";
|
|
||||||
"default" = [
|
|
||||||
""
|
|
||||||
""
|
|
||||||
""
|
|
||||||
];
|
|
||||||
};
|
|
||||||
"on-click" = "pavucontrol";
|
|
||||||
};
|
};
|
||||||
|
"wireplumber#source" = {
|
||||||
|
"node-type" = "Audio/Source";
|
||||||
|
"format" = "{volume}% 🎤";
|
||||||
|
"format-muted" = "X";
|
||||||
|
"on-click" = "pwvucontrol";
|
||||||
|
};
|
||||||
cpu = {
|
cpu = {
|
||||||
format = "{usage}% ";
|
format = "{usage}% ";
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue