Here's some troubleshooting you can do. Type the following in the terminal.Hello !
I'd love to use your script, but it doesn't seem to work unfortunatly...
First I have the same issue as djzmaj, i have to add "600" at the end of the command for the script to run.
And when it runs (if it really does, but it seems to), nothing happens and the keyboard and mouse doesn't disconnect (I've put TIME_BEFORE_DISCONNECT_SEC=120 and CHECK_INTERVAL_SEC=20).
I use Big Sur.
Thanks !
/usr/local/bin/blueutil --paired
/usr/local/bin/blueutil --disconnect xx-xx-xx-xx-xx-xx
/usr/local/bin/blueutil --paired | awk '{print $2}' | cut -c 1-17