diff --git a/dotfiles/.config/waybar/config b/dotfiles/.config/waybar/config
index 92e6f73..ba35e96 100644
--- a/dotfiles/.config/waybar/config
+++ b/dotfiles/.config/waybar/config
@@ -1,15 +1,15 @@
{
"modules-left": ["custom/notification", "battery", "clock#date", "clock","custom/updater", "custom/launcher"],
"modules-center": ["hyprland/workspaces"],
- "modules-right": ["network", "bluetooth", "pulseaudio", "custom/power"],
+ "modules-right": ["network", "bluetooth", "wireplumber", "wireplumber#microphone", "custom/power"],
"sway/mode": {
"format": "{}"
},
"network": {
- "format-wifi": "{icon}\u2002{essid}\u2002({signalStrength}%)",
- "format-ethernet": "{icon}\u2009Ethernet",
- "format-disconnected": "\u2002Not Connected",
+ "format-wifi": "{icon} {essid}({signalStrength}%)",
+ "format-ethernet": "{icon} Ethernet",
+ "format-disconnected": " Not Connected",
"tooltip-format": "{ipaddr} via {gwaddr}",
"tooltip-format-disconnected": "Disconnected",
"max-length": 50,
@@ -55,27 +55,30 @@
"on-click-right": "mode"
}
},
- "pulseaudio": {
- "format": "{icon} {volume}% {format_source}",
- "format-muted": " {format_source}",
- "format-bluetooth": "{icon} {volume}% {format_source}",
- "format-bluetooth-muted": " {format_source}",
- "format-source": " {volume}%",
- "format-source-muted": " {volume}%",
- "format-icons": {
- "default": [
- "",
- "",
- " "]
- },
- "on-click": "pavucontrol"
+ "wireplumber": {
+ "format": "{icon}{volume}%",
+ "format-muted": "",
+ "format-bluetooth": "{icon}{volume}%",
+ "format-bluetooth-muted": "",
+ "format-icons": [
+ " ",
+ " ",
+ " "
+ ],
+ "on-click": "pwvucontrol"
+ },
+ "wireplumber#microphone": {
+ "node-type": "Audio/Source",
+ "format": " {volume}%",
+ "format-muted": " {volume}%",
+ "on-click": "pwvucontrol"
},
"bluetooth": {
- "format-on": " On",
+ "format-on": " On",
"format-off": " Off",
"format-disabled": " Off",
- "format-connected": " {device_alias}",
- "format-connected-battery": " {device_alias} {device_battery_percentage}%",
+ "format-connected": " {device_alias}",
+ "format-connected-battery": " {device_alias} {device_battery_percentage}%",
"tooltip-format": "{controller_alias}\t{controller_address}\n\n{num_connections} connected",
"tooltip-format-connected": "{controller_alias}\t{controller_address}\n\n{num_connections} connected\n\n{device_enumerate}",
"tooltip-format-enumerate-connected": "{device_alias}\t{device_address}",
diff --git a/dotfiles/.config/waybar/style.css b/dotfiles/.config/waybar/style.css
index d81e2a1..d5d4b43 100644
--- a/dotfiles/.config/waybar/style.css
+++ b/dotfiles/.config/waybar/style.css
@@ -71,7 +71,8 @@ window#waybar {
border-radius: 20px;
margin: 5px 3px;
}
-#pulseaudio {
+#wireplumber,
+#wireplumber-microphone {
padding: 5px 10px 5px 15px;
background-color: rgba(0, 43, 51, 0.85);
border-radius: 20px;
@@ -121,7 +122,8 @@ window#waybar {
#idle_inhibitor.activated {
color: #2dcc36;
}
-#pulseaudio.muted {
+#wireplumber.muted,
+#wireplumber-microphone.muted {
color: #cc3436;
}
#battery.charging {