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

13 lines
336 B
Lua

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