dotfiles/.config/wireplumber/main.lua.d/51-rename-laptop-internal-microphone.lua

13 lines
326 B
Lua

rule = {
matches = {
{
{ "node.name", "equals", "alsa_input.pci-0000_07_00.6.HiFi__hw_acp__source" },
},
},
apply_properties = {
["node.description"] = "Laptop internal Microphone",
["node.nick"] = "laptop-internal-mic",
},
}
table.insert(alsa_monitor.rules, rule)