bluetooth scripts: Notify status

This commit is contained in:
2023-12-24 20:51:42 +01:00
parent a77c1289a4
commit 838e99f3de
2 changed files with 14 additions and 2 deletions

View File

@ -2,5 +2,11 @@
set -x set -x
notify-send "Connecting to Högtalare"
bluetoothctl power on 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

View File

@ -2,5 +2,11 @@
set -x set -x
notify-send "Connecting to Lurar"
bluetoothctl power on 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