simplified my pipewire conf

This commit is contained in:
2026-02-15 00:54:45 +01:00
parent 885fbc1551
commit 4e2e75a044
26 changed files with 823 additions and 314 deletions

View File

@@ -127,6 +127,15 @@
"icon-size": 16
},
"custom/mic-usb": {
"exec": "mic-usb-status",
"return-type": "json",
"interval": 2,
"format": " {text}",
"tooltip": true,
"on-click": "mic-toggle-usb"
},
"wireplumber#source": {
"node-type": "Audio/Source",
"format": " {volume}%",
@@ -327,6 +336,7 @@
"group/volume": {
"orientation": "vertical",
"modules": [
"custom/mic-usb",
"wireplumber#source",
"wireplumber#sink"
]

View File

@@ -81,7 +81,8 @@ window#waybar {
#custom-swaync,
#custom-temps-cycle,
#custom-hyprsunset,
#custom-alhp {
#custom-alhp,
#custom-mic-usb {
background: @pill_bg;
color: @foreground;
border: 1px solid @border;
@@ -107,7 +108,8 @@ window#waybar {
#custom-swaync:hover,
#custom-temps-cycle:hover,
#custom-hyprsunset:hover,
#custom-alhp:hover {
#custom-alhp:hover,
#custom-mic-usb:hover {
background: @pill_hover;
border-color: @accent;
}
@@ -123,7 +125,8 @@ window#waybar {
}
#custom-alhp.stale,
#wireplumber.muted {
#wireplumber.muted,
#custom-mic-usb.mic-usb-muted {
border-color: @warning;
}
@@ -154,8 +157,11 @@ window#waybar {
border-color: @error;
}
#wireplumber.muted { color: @dim; }
#wireplumber.muted,
#custom-mic-usb.mic-usb-muted { color: @dim; }
#idle_inhibitor.deactivated { color: @dim; }
#custom-mic-usb.mic-usb-unknown,
#custom-mic-usb.mic-unavailable { border-color: @error; color: @error; }
/* Group wrappers */
#group-temps,
@@ -194,6 +200,11 @@ window#waybar {
padding: 2px 3px;
}
#group-volume #wireplumber:hover { background: @pill_hover; border-color: @accent; }
#group-volume #custom-mic-usb {
margin: 1px 0;
padding: 2px 3px;
}
#group-volume #custom-mic-usb:hover { background: @pill_hover; border-color: @accent; }
/* Tooltips */
tooltip,