aboutsummaryrefslogtreecommitdiffstats
path: root/copy.sh
diff options
context:
space:
mode:
authorDon Williams <don.e.williams@gmail.com>2026-01-11 02:47:56 -0500
committerDon Williams <don.e.williams@gmail.com>2026-01-11 02:47:56 -0500
commitc01672552692a530ab3bde7716122517232c1735 (patch)
treef189f9e513ab06e3e32a734f9d8112cb83723058 /copy.sh
parentbf494381829c904425b8bda46b087572b09e7ca4 (diff)
Banner formatting fixed
Diffstat (limited to 'copy.sh')
-rwxr-xr-xcopy.sh14
1 files changed, 13 insertions, 1 deletions
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
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage