about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rwxr-xr-xbluetooth-devices.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bluetooth-devices.sh b/bluetooth-devices.sh
index 25819b3..6291e9a 100755
--- a/bluetooth-devices.sh
+++ b/bluetooth-devices.sh
@@ -18,7 +18,7 @@ connect_bluetooth() {
 disconnect_bluetooth() {
     local MAC=$1
     local DEVICE=$2
-    if bluetoothctl disconnect $MAC | grep -q 'successful' 
+    if bluetoothctl disconnect $MAC | grep -q 'Successful' 
     then
         notify-send -t 5000 -r 2954 -u normal "  Disconnected successfully from" "     $DEVICE"
     else