Modifying the`device.icon_name` property doesn't seem to work anymore
System information:
- OS: Arch Linux (5.19.8.arch1-1)
- PipeWire: 0.3.57
- WirePlumber: 0.4.11
-
pw-dump
: pw-dump.log
I have this rule in ~/.config/wireplumber/main.lua.d/99-alc887vd-pro-audio.lua
:
-- Tweak the device name and icon when using the Pro Audio profile on PipeWire
speakers_out = {
matches = {
{
{ "alsa.id", "equals", "ALC887-VD Analog" },
{ "api.alsa.pcm.stream", "equals", "playback" },
},
},
apply_properties = {
["node.description"] = "Speakers",
["device.icon_name"] = "audio-speakers"
},
}
front_headset_out = {
matches = {
{
{ "alsa.id", "equals", "ALC887-VD Alt Analog" },
{ "api.alsa.pcm.stream", "equals", "playback" },
},
},
apply_properties = {
["node.description"] = "Headset",
["device.icon_name"] = "audio-headset"
},
}
front_headset_mic = {
matches = {
{
{ "alsa.id", "equals", "ALC887-VD Analog" },
{ "api.alsa.pcm.stream", "equals", "capture" },
},
},
apply_properties = {
["node.description"] = "Headset Microphone",
},
}
table.insert(alsa_monitor.rules, speakers_out)
table.insert(alsa_monitor.rules, front_headset_out)
table.insert(alsa_monitor.rules, front_headset_mic)
At some point in the past, modifying device.icon_name
used to work just fine (this an old screenshot from issue #279 (closed)):
But as of today, the icons are not modified anymore (although node.description
still is):
When I run pactl list sinks
, I can see that the device.icon_name
property is set to audio-card-analog-pci
for both devices:
-
pactl list sinks
: pactl_list_sinks.txt
I actually tried downgrading both wireplumber
and pipewire
packages back to their "working version" (based on information from #279 (closed)), but the weird part is that device.icon_name
is still not changing, which could indicate this "regression" was not introduced by WirePlumber, right?
Any help is appreciated. Thanks.