Bluetooth connect/disconnect shell script
A shell script that connects and disconnects bluetooth devices using dmenu.Requires dmenu, however if you wanted to use something else like rofi I assume it would be very trivial to change it to that or even make it cli.
sudo curl -sL "https://raw.githubusercontent.com/Edesem/bluetooth-connect-script/main/bcn" -o /usr/local/bin/bcn
sudo chmod +x /usr/local/bin/bcn
Open dmenu and type bcn, it will then show a list of previously connected bluetooth devices and hitting enter with attempt to connect to that bluetooth device.
Just redo the curl command
sudo rm /usr/local/bin/bcn