diff options
author | Saumit Dinesan <79687674+justsaumit@users.noreply.github.com> | 2022-02-10 01:09:06 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-10 01:09:06 +0530 |
commit | ba6850bd89ca444b6d7fcde78a0fc9e77ecaeaa3 (patch) | |
tree | a74feb6531a2cb0d23163c671ec77ad0a1ce314d | |
parent | 3150ae5129ec9585c207f0935efdfcabd199fd9c (diff) |
Update bts
-rw-r--r-- | scripts/bts | 3 |
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 |