summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorSaumit Dinesan <79687674+justsaumit@users.noreply.github.com>2022-02-06 06:34:25 +0530
committerGitHub <noreply@github.com>2022-02-06 06:34:25 +0530
commitc2e70798fbedb7eea7990866f799e8c63c67eae7 (patch)
tree1d60088f86923233e0f358affd5ed632e13f0d7e /scripts
parentae37615369460e6131f73006b22e86f6a8bd90dc (diff)
Update bts
Diffstat (limited to 'scripts')
-rw-r--r--scripts/bts3
1 files changed, 2 insertions, 1 deletions
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