mirror of
https://github.com/ksyasuda/dotfiles.git
synced 2026-03-22 18:11:28 -07:00
24 lines
475 B
Plaintext
24 lines
475 B
Plaintext
# AirPods-specific Bluetooth policy override.
|
|
# Keep the device on A2DP/AAC and avoid restoring stale route state.
|
|
|
|
wireplumber.settings = {
|
|
device.restore-routes = false
|
|
}
|
|
|
|
monitor.bluez.rules = [
|
|
{
|
|
matches = [
|
|
{
|
|
device.name = "bluez_card.18_3F_70_4E_02_CC"
|
|
}
|
|
]
|
|
actions = {
|
|
update-props = {
|
|
device.profile = "a2dp-sink"
|
|
bluez5.auto-connect = [ a2dp_sink ]
|
|
bluez5.a2dp.aac.bitratemode = 0
|
|
}
|
|
}
|
|
}
|
|
]
|