From a6e948f1c9ef81504996aa0e9ecea113996d2fdc Mon Sep 17 00:00:00 2001 From: JEEVITHA KANNAN K S Date: Mon, 4 Nov 2024 12:20:47 +0530 Subject: [PATCH] revert: bluetooth-manager.sh --- core/tabs/utils/bluetooth-control.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/tabs/utils/bluetooth-control.sh b/core/tabs/utils/bluetooth-control.sh index 261eccf8..da7ee23d 100644 --- a/core/tabs/utils/bluetooth-control.sh +++ b/core/tabs/utils/bluetooth-control.sh @@ -32,7 +32,7 @@ setupBluetooth() { # Function to display the main menu main_menu() { while true; do - + clear printf "%b\n" "${YELLOW}Bluetooth Manager${RC}" printf "%b\n" "${YELLOW}=================${RC}" printf "%b\n" "1. Scan for devices" @@ -58,7 +58,7 @@ main_menu() { # Function to scan for devices scan_devices() { - + clear printf "%b\n" "${YELLOW}Scanning for devices...${RC}" bluetoothctl --timeout 10 scan on devices=$(bluetoothctl devices) @@ -81,7 +81,7 @@ prompt_for_mac() { failure_msg=$5 while true; do - + clear devices=$(bluetoothctl devices) if [ -z "$devices" ]; then printf "%b\n" "${RED}No devices available. Please scan for devices first.${RC}"