From c2e70798fbedb7eea7990866f799e8c63c67eae7 Mon Sep 17 00:00:00 2001 From: Saumit Dinesan <79687674+justsaumit@users.noreply.github.com> Date: Sun, 6 Feb 2022 06:34:25 +0530 Subject: Update bts --- scripts/bts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/bts b/scripts/bts index 3ee0ec5..e48d26f 100644 --- a/scripts/bts +++ b/scripts/bts @@ -3,7 +3,8 @@ status=$(systemctl status bluetooth | grep Active | cut -d " " -f 7) case $status in "active") bluetoothctl power on - bluetoothctl connect A1:B3:EC:B1:53:60 ;; + bluetoothctl connect A1:B3:EC:B1:53:60 + notify-send "Bluetooth Device is connected";; "inactive" | "failed") SUDO_ASKPASS=.scripts/dpass sudo -A $(sudo systemctl start bluetooth|dmenu) #st -e sudo systemctl start bluetooth -- cgit v1.2.3