summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
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