about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorckrinitsin <101062646+ckrinitsin@users.noreply.github.com>2024-06-02 18:09:12 +0200
committerGitHub <noreply@github.com>2024-06-02 18:09:12 +0200
commita463b3370eb815f5f7cf53b5eaaa68e0349734c1 (patch)
treea62edd790b89eda1b1467a200f896603b4dfdbc0
parent0671d8c22465a3541fdac791a53944759e23e1c2 (diff)
downloadbluetoothctl-dmenu-main.tar.gz
bluetoothctl-dmenu-main.zip
Fix notify about disconnection HEAD main
-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