summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorSaumit Dinesan <79687674+justsaumit@users.noreply.github.com>2022-02-10 01:09:06 +0530
committerGitHub <noreply@github.com>2022-02-10 01:09:06 +0530
commitba6850bd89ca444b6d7fcde78a0fc9e77ecaeaa3 (patch)
treea74feb6531a2cb0d23163c671ec77ad0a1ce314d /scripts
parent3150ae5129ec9585c207f0935efdfcabd199fd9c (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 e48d26f..29b9200 100644
--- a/scripts/bts
+++ b/scripts/bts
@@ -6,7 +6,8 @@ case $status in
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)
+ export SUDO_ASKPASS=/home/saumit/.scripts/dpass
+ sudo -A systemctl start bluetooth
#st -e sudo systemctl start bluetooth
notify-send "Bluetooth daemon is running"
bluetoothctl power on