Advertisement
metalx1000

Pipewire Device Description Name Config Examples

Nov 19th, 2024
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 0.87 KB | None | 0 0
  1. monitor.alsa.rules=[
  2. {
  3.   matches=[ {
  4.     node.name="alsa_output.pci-0000_00_1f.3.analog-stereo"
  5.   }
  6.  
  7.   ],
  8.   actions= {
  9.     update-props= {
  10.       node.description="Laptop Speakers"
  11.       device.description="Laptop Speakers"
  12.       device.form-factor="internal",
  13.     }
  14.   }
  15. },
  16. {
  17.   matches=[ {
  18.     node.name="alsa_output.usb-C-Media_Electronics_Inc._USB_Audio_Device-00.analog-stereo"
  19.   }
  20.  
  21.   ],
  22.   actions= {
  23.     update-props= {
  24.       node.description="Headphones"
  25.       device.description="Headphones"
  26.       device.form-factor="headset",
  27.       device.icon-name="audio-headset-symbolic",
  28.     }
  29.   }
  30. },
  31. {
  32.   matches=[ {
  33.     node.name="alsa_output.usb-Jieli_Technology_USB_Composite_Device_425030463632320A-01.analog-stereo"
  34.   }
  35.  
  36.   ],
  37.   actions= {
  38.     update-props= {
  39.       node.description="Sound Bar"
  40.       device.description="Sound Bar"
  41.     }
  42.   }
  43. }
  44. ]
  45.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement