A shell script which displays the status of bluetooth and the paired devices.
Use the toggle option to power on the controller and try to connect to all paired devices or to disconnect all connections and turn off the controller.
bluetoothctl
Use the set-alias
feature of bluetoothctl
to customize your device names.
To enable battery level detection set Experimental = true
in /etc/bluetooth/main.conf
.
[module/system-bluetooth-bluetoothctl]
type = custom/script
exec = ~/polybar-scripts/system-bluetooth-bluetoothctl.sh
tail = true
click-left = ~/polybar-scripts/system-bluetooth-bluetoothctl.sh --toggle &