aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaKooLit <ejhay.games@gmail.com>2025-01-03 08:32:16 +0900
committerJaKooLit <ejhay.games@gmail.com>2025-01-03 08:32:16 +0900
commit7957717c3ba0385fd6c54412bdc7860ecef3726d (patch)
treef68ab2c182ec432e7f827c2923f1342add6120ce
parentc98c863fa3a5506a0ade86fcd8f082e74e297f7e (diff)
tweaked copy.sh
-rwxr-xr-xcopy.sh9
1 files changed, 5 insertions, 4 deletions
diff --git a/copy.sh b/copy.sh
index e201bb0d..685a09d9 100755
--- a/copy.sh
+++ b/copy.sh
@@ -500,7 +500,6 @@ done
printf "\n%.0s" {1..2}
-
# Restoring UserConfigs and UserScripts
DIRH="hypr"
FILES_TO_RESTORE=(
@@ -526,7 +525,7 @@ if [ -z "$BACKUP_DIR" ]; then
fi
if [ -d "$BACKUP_DIR_PATH" ]; then
- echo -e "${NOTE} Restoring previous User-Configs... "
+ echo -e "${NOTE} Restoring previous ${ORANGE}User-Configs${RESET}... "
echo -e "${WARN} If you decide to restore the old configs, make sure to handle the updates or changes manually."
echo -e "${INFO} Kindly Visit and check KooL's Hyprland-Dots GitHub page for the commits."
@@ -549,6 +548,8 @@ if [ -d "$BACKUP_DIR_PATH" ]; then
done
fi
+printf "\n%.0s" {1..2}
+
# Restoring previous UserScripts
DIRSH="hypr"
SCRIPTS_TO_RESTORE=(
@@ -561,12 +562,12 @@ DIRSHPATH=~/.config/"$DIRSH"
BACKUP_DIR_PATH="$DIRSHPATH-backup-$BACKUP_DIR/UserScripts"
if [ -d "$BACKUP_DIR_PATH" ]; then
- echo -e "${INFO} Restoring previous User-Scripts from backup..."
+ echo -e "${NOTE} Restoring previous ${ORANGE}User-Scripts${RESET}..."
for SCRIPT_NAME in "${SCRIPTS_TO_RESTORE[@]}"; do
BACKUP_SCRIPT="$BACKUP_DIR_PATH/$SCRIPT_NAME"
- if [ -f "$BACKUP_SCRIPT"; then
+ if [ -f "$BACKUP_SCRIPT" ]; then
printf "\n${INFO} Found ${YELLOW}$SCRIPT_NAME${RESET} in hypr backup...\n"
read -p "${CAT} Do you want to restore ${ORANGE}$SCRIPT_NAME${RESET} from backup? (y/N): " script_restore
if [[ "$script_restore" == [Yy]* ]]; then
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage