From 7b0e3b2198eb2f0af8777e5890ae77428b520ab3 Mon Sep 17 00:00:00 2001 From: Andrew Date: Sun, 21 Jun 2020 23:50:04 +0400 Subject: Fixed typo in bluecontrol --- .local/bin/scripts/bluecontrol | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.local') 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" } -- cgit v1.2.3