Configuration file no longer applied after updating to 0.5
I have a configuration file, ~/.config/wireplumber/main.lua.d/51-disable-dock-audio.lua
, with the following contents:
rule = {
matches = {
{
{ "device.name", "equals", "alsa_card.usb-DisplayLink_Belkin_USB-C_Dock_10127776-02" },
},
},
apply_properties = {
[ "device.disabled" ] = true,
},
}
table.insert(alsa_monitor.rules, rule)
As of updating to 0.5, this configuration file no longer functions. The device is not disabled, which breaks sound on my laptop.
I do understanding that Wireplumber no longer loads these lua files as of 0.5 but I cannot find any guide anywhere about how to migrate configuration.