diff --git a/info.plist b/info.plist index 0886b83..db6a5a4 100644 --- a/info.plist +++ b/info.plist @@ -411,7 +411,7 @@ variablesdontexport version - 0.11.1 + 0.11.2 webaddress https://github.com/tilmanginzel/alfred-bluetooth-workflow diff --git a/scripts/blt.sh b/scripts/blt.sh index bce848b..6c62bfe 100755 --- a/scripts/blt.sh +++ b/scripts/blt.sh @@ -8,8 +8,7 @@ TITLE=$2 if [[ $(../blueutil --is-connected ${DEVICE}) -eq 1 ]] then - ../blueutil --disconnect ${DEVICE} - ../blueutil --wait-disconnect ${DEVICE} 5 + ../blueutil --disconnect ${DEVICE} --wait-disconnect ${DEVICE} 5 if [[ $(../blueutil --is-connected ${DEVICE}) -eq 0 ]] then ./notify.sh -m "Disconnected from ${TITLE}"