From c01672552692a530ab3bde7716122517232c1735 Mon Sep 17 00:00:00 2001 From: Don Williams Date: Sun, 11 Jan 2026 02:47:56 -0500 Subject: Banner formatting fixed --- copy.sh | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/copy.sh b/copy.sh index d35af646..0553865a 100755 --- a/copy.sh +++ b/copy.sh @@ -360,7 +360,19 @@ if [[ "$EDITOR_SET" -eq 0 ]] && command -v vim &>/dev/null; then fi printf "\n" -resolution=$(prompt_resolution_choice) +resolution="" +while true; do + echo "${INFO} Select monitor resolution for scaling:" + echo " 1) < 1440p (lower DPI; smaller displays)" + echo " 2) ≥ 1440p (default; 1440p/2k/4k)" + echo -n "${CAT} Enter the number of your choice (1 or 2): " + read -r choice + case "$choice" in + 1) resolution="< 1440p"; break ;; + 2) resolution="≥ 1440p"; break ;; + *) echo "${ERROR} Invalid choice. Please enter 1 or 2.";; + esac +done echo "${OK} You have chosen $resolution resolution." 2>&1 | tee -a "$LOG" if [ "$resolution" == "< 1440p" ]; then # kitty font size -- cgit v1.2.3