diff --git a/tree/.local/bin/högtalare b/tree/.local/bin/högtalare index 8b7193e..9d1d3a0 100755 --- a/tree/.local/bin/högtalare +++ b/tree/.local/bin/högtalare @@ -2,5 +2,11 @@ set -x +notify-send "Connecting to Högtalare" + bluetoothctl power on -bluetoothctl connect 04:FE:A1:71:4C:70 +if bluetoothctl connect 04:FE:A1:71:4C:70; then + notify-send "Connected" +else + notify-send "Failed to connect to Högtalare" +fi diff --git a/tree/.local/bin/lurar b/tree/.local/bin/lurar index 7e89622..e572a1a 100755 --- a/tree/.local/bin/lurar +++ b/tree/.local/bin/lurar @@ -2,5 +2,11 @@ set -x +notify-send "Connecting to Lurar" + bluetoothctl power on -bluetoothctl connect 94:DB:56:41:C0:38 +if bluetoothctl connect 94:DB:56:41:C0:38; then + notify-send "Connected" +else + notify-send "Failed to connect to Lurar" +fi