diff --git a/tabs/utils/bluetooth-control.sh b/tabs/utils/bluetooth-control.sh index ba8c8c9f..8ad2e813 100644 --- a/tabs/utils/bluetooth-control.sh +++ b/tabs/utils/bluetooth-control.sh @@ -41,8 +41,8 @@ main_menu() { printf "4. Disconnect from a device\n" printf "5. Remove a device\n" printf "0. Exit\n" - printf -n "Choose an option: " - read choice + printf "Choose an option: " + read -r choice case $choice in 1) scan_devices ;; diff --git a/tabs/utils/monitor-control/auto_detect_displays.sh b/tabs/utils/monitor-control/auto_detect_displays.sh index c72d23b3..44352f6e 100755 --- a/tabs/utils/monitor-control/auto_detect_displays.sh +++ b/tabs/utils/monitor-control/auto_detect_displays.sh @@ -29,6 +29,7 @@ auto_detect_displays() { if [ -z "$common_resolutions" ]; then printf "%b\n" "${RED}No common resolution found among connected monitors.${RC}" return + fi highest_resolution=$(echo "$common_resolutions" | sort -n -t'x' -k1,1 -k2,2 | tail -n 1)