The `/bin/bash` path is not assured by POSIX, however the path `/usr/bin/env bash` should work, if bash is in the PATH.
I found the base script somewhere on GitHub. It looks like a good basis to transform it into a true bluetooth interface which could be launched directly from demnu. To that end I wrote a little '.desktop' file to add it to `dmenu-desktop` entries.