Autoconnect bluetooth headphones in headset mode instead of A2DP

Hello! I generally use my bluetooth headphones as a headset, but everytime I connect it I need to switch output device and change connection mode.

I was able to solve first part by installing paprefs and adding a virtual device which combines all the otput sources so as fast as headphones connect they start sound output.

Is there a way to default headset setting as opposed to A2DP?

P.S.: originally I used virtual device to connect two headsets and when both are connected only one can be in A2DP mode and one in headset mode. It’s not possible to have two headsets in A2DP mode?

Have you looked here?

https://wiki.archlinux.org/index.php/bluetooth_headset#Setting_up_auto_connection