diff options
| author | Andrew <saintruler@gmail.com> | 2020-06-21 23:50:04 +0400 |
|---|---|---|
| committer | Andrew <saintruler@gmail.com> | 2020-06-21 23:50:04 +0400 |
| commit | 7b0e3b2198eb2f0af8777e5890ae77428b520ab3 (patch) | |
| tree | ccb6d1af81c24d325a5223cfde688c108c04da16 /.local/bin | |
| parent | 150d9a1de21066d350c811f7876fc27d3e6e0916 (diff) | |
Fixed typo in bluecontrol
Diffstat (limited to '.local/bin')
| -rwxr-xr-x | .local/bin/scripts/bluecontrol | 4 |
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" } |