kunsis-dotfiles/.config/wireplumber/main.lua.d/51-rename-laptop-output.lua

14 lines
331 B
Lua
Raw Normal View History

2023-01-22 14:58:06 +00:00
rule = {
matches = {
{
{ "node.name", "equals", "alsa_output.pci-0000_07_00.6.HiFi__hw_Generic_1__sink" },
},
},
apply_properties = {
["node.description"] = "Laptop Speakers/Headphones",
["node.nick"] = "laptop-internal-out",
},
}
table.insert(alsa_monitor.rules, rule)