diff options
Diffstat (limited to '.config/wireplumber/main.lua.d/51-camera-microphone-input-rename.lua')
| -rw-r--r-- | .config/wireplumber/main.lua.d/51-camera-microphone-input-rename.lua | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/.config/wireplumber/main.lua.d/51-camera-microphone-input-rename.lua b/.config/wireplumber/main.lua.d/51-camera-microphone-input-rename.lua new file mode 100644 index 0000000..c7db70e --- /dev/null +++ b/.config/wireplumber/main.lua.d/51-camera-microphone-input-rename.lua @@ -0,0 +1,13 @@ +rule = { + matches = { + { + { "node.name", "equals", "alsa_input.usb-SunplusIT_Inc_FHD_Camera_Microphone_01.00.00-02.analog-stereo"}, + }, + }, + apply_properties = { + ["node.description"] = "Camera Microphone", + ["node.nick"] = "Camera Microphone", + }, +} + +table.insert(alsa_monitor.rules,rule) |
