From ba6850bd89ca444b6d7fcde78a0fc9e77ecaeaa3 Mon Sep 17 00:00:00 2001 From: Saumit Dinesan <79687674+justsaumit@users.noreply.github.com> Date: Thu, 10 Feb 2022 01:09:06 +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 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 -- cgit v1.2.3