From 461fd317132d257d54e0575230dd8ba047bf1649 Mon Sep 17 00:00:00 2001 From: shynd Date: Thu, 20 Feb 2025 21:08:26 +0100 Subject: [PATCH] working on copy script --- copy.sh | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/copy.sh b/copy.sh index 49c3f1b..8ba306b 100644 --- a/copy.sh +++ b/copy.sh @@ -280,4 +280,29 @@ if [[ "$EDITOR_SET" -eq 0 ]]; then echo "${YELLOW} Neither neovim nor vim is installed or selected as default." 2>&1 | tee -a "$LOG" fi -printf "\n" \ No newline at end of file +printf "\n" + +# Action to do for better appearance +while true; do + echo "${NOTE} ${SKY_BLUE} by default, hyprland-dotfiles is configured for 1440p or 2k." + echo "${WARN} if you dont select proper resolution, Hyprlock will look weird" + echo "${INFO} if you are not sure what is your resolution, choose 1 here!" + echo "${MAGENTA}select monitor resolution to properly configure appearance and fonts:" + echo "$YELLOW -- enter 1. for monitor resolution less than 1440p (< 1440p)" + echo "$YELLOW -- enter 2. for monitor resolution equal to or higher than 1440p (≥ 1440p)" + read -p "$CAT enter the number of your choice (1 or 2): " res_choice + + case $res_choice in + 1) + resolution="< 1440p" + break + ;; + 2) + resolution="≥ 1440p" + break + ;; + *) + echo "${ERROR} invalid choice. please enter 1 for < 1440p or 2 for ≥ 1440p." + ;; + esac +done \ No newline at end of file