Switch between the HSP/HFP and A2DP Bluetooth profiles from the system tray
$ bt_profile --help
Usage of bt_profile:
-codec string
custom codec e.g. aac, ldac
-quit
show the quit item
-sink string
headset's pulseaudio sink (default "1")
- custom codecs are supported by https://github.com/EHfive/pulseaudio-modules-bt
Find the sink first
$ pactl list cards | grep Name
Name: alsa_card.pci-0000_00_1b.0
Name: bluez_card.F4_0E_11_7E_93_EB
Then use it
$ bt_profile -sink "bluez_card.F4_0E_11_7E_93_EB"
Now you can put this in your DE start up script
Archlinux PKGBUILD in the archlinux folder
You need make, go, go-tools, libappindicator-gtk3
Build with make
Install with make install
Uninstall with make uninstall
Clean up with make clean