bluetooth scripts: Notify status
This commit is contained in:
@ -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
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user