context.exec = [ # Always keep one sink loaded, even if it's NULL. { path = "/usr/bin/pactl" args = "load-module module-always-sink" } # When a new sink/source appears, switch to it automatically. This is what # allows the bluetooth headphones to have priority over the builtin # speakers. { path = "/usr/bin/pactl" args = "load-module module-switch-on-connect" } ]