forked from kunsi/dotfiles
pipewire stuff
This commit is contained in:
parent
fd005e4585
commit
0083bc65b7
6 changed files with 74 additions and 17 deletions
|
@ -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)
|
|
@ -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)
|
|
@ -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)
|
13
.config/wireplumber/main.lua.d/51-rename-laptop-output.lua
Normal file
13
.config/wireplumber/main.lua.d/51-rename-laptop-output.lua
Normal 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)
|
Loading…
Add table
Add a link
Reference in a new issue