replace pulseaudio with wireplumber

This commit is contained in:
Adithya 2023-10-19 19:53:51 +05:30
parent d1fac00713
commit 1fac8e23ac
Signed by: adtya
GPG key ID: 48FC9915FFD326D0
2 changed files with 6 additions and 18 deletions

View file

@ -14,7 +14,7 @@
height = 28;
modules-left = ["hyprland/workspaces" "hyprland/window" "hyprland/submap"];
modules-center = [];
modules-right = ["tray" "idle_inhibitor" "network" "bluetooth" "pulseaudio" "backlight" "battery" "clock"];
modules-right = ["tray" "idle_inhibitor" "network" "bluetooth" "wireplumber" "backlight" "battery" "clock"];
"sway/mode" = {
format = "{}";
};
@ -61,20 +61,11 @@
format-alt = "{ifname}: {ipaddr}/{cidr}";
tooltip = false;
};
pulseaudio = {
tooltip = false;
format = "{icon} {format_source}";
format-muted = "󰝟 {format_source}";
format-bluetooth = "󰂰 {icon} {format_source}";
format-bluetooth-muted = "󰂰 󰝟 {format_source}";
format-source = "󰍬";
format-source-muted = "󰍭";
format-icons = {
headphones = "󰋋";
headset = "󰋎";
default = ["󰕿" "󰖀" "󰕾"];
};
wireplumber = {
format = "{icon}";
format-muted = "󰝟";
on-click = "${pkgs.pavucontrol}/bin/pavucontrol";
format-icons = ["󰕿" "󰖀" "󰕾"];
};
bluetooth = {
format = "󰂯";

View file

@ -69,6 +69,7 @@ window#waybar.solo {
#backlight,
#network,
#pulseaudio,
#wireplumber,
#tray,
#mode,
#submap,
@ -116,10 +117,6 @@ label:focus {
background-color: @selection;
}
#temperature.critical {
color: @red;
}
#idle_inhibitor.activated {
color: @green;
}