summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-x.local/bin/scripts/bluecontrol4
1 files changed, 2 insertions, 2 deletions
diff --git a/.local/bin/scripts/bluecontrol b/.local/bin/scripts/bluecontrol
index ea36ff4..f69def3 100755
--- a/.local/bin/scripts/bluecontrol
+++ b/.local/bin/scripts/bluecontrol
@@ -21,7 +21,7 @@ fPower()
fScan()
{
- local time=3
+ local time=5
notify-send "Turning on scanning for $time seconds"
timeout $time bluetoothctl -- scan on
notify-send "Scanning turned off"
@@ -38,7 +38,7 @@ fConnect()
fRemove()
{
local device=$(fGetDevices | dmenucmd | awk '{ print $2 }')
- bluetoothctl -- remove "$devices"
+ bluetoothctl -- remove "$device"
notify-send "Removed device"
}