working on copy script
This commit is contained in:
parent
8519421087
commit
461fd31713
27
copy.sh
27
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"
|
echo "${YELLOW} Neither neovim nor vim is installed or selected as default." 2>&1 | tee -a "$LOG"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
printf "\n"
|
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
|
Loading…
Reference in New Issue