dotfiles/.config/wireplumber/bluetooth.lua.d/51-rename-sony-headphones.lua

13 lines
305 B
Lua

rule = {
matches = {
{
{ "node.name", "equals", "bluez_output.38_18_4C_BF_65_26.1" },
},
},
apply_properties = {
["node.description"] = "WH-1000XM3 (Franzi)",
["node.nick"] = "bluetooth-WH-1000XM3",
},
}
table.insert(bluez_monitor.rules, rule)