pipewire stuff

This commit is contained in:
Franzi 2023-01-22 15:58:06 +01:00
parent fd005e4585
commit 0083bc65b7
Signed by untrusted user: kunsi
GPG key ID: 12E3D2136B818350
6 changed files with 74 additions and 17 deletions

View file

@ -0,0 +1,13 @@
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)

View file

@ -0,0 +1,13 @@
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)

View file

@ -0,0 +1,13 @@
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)

View file

@ -0,0 +1,13 @@
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)