aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaKooLit <ejhay.games@gmail.com>2025-02-03 22:37:37 +0900
committerJaKooLit <ejhay.games@gmail.com>2025-02-03 22:37:37 +0900
commit9c11a77d3e3f9020035f41634d695be85c1e349c (patch)
tree61993abf812052b575818d2b45f5a3badea8bc03
parent897ba529ce032b2e66ba5ed0604e421730fcddb5 (diff)
tweaked copy.sh
-rwxr-xr-xcopy.sh14
1 files changed, 9 insertions, 5 deletions
diff --git a/copy.sh b/copy.sh
index 3aeb4758..2a23bd80 100755
--- a/copy.sh
+++ b/copy.sh
@@ -604,11 +604,15 @@ if [ -d "$BACKUP_DIR_PATH" ]; then
done
fi
-printf "\n%.0s" {1..2}
+printf "\n%.0s" {1..}
-# Wallpapers
+# wallpaper stuff
mkdir -p ~/Pictures/wallpapers
-cp -r wallpapers ~/Pictures/ && { echo "${OK} some wallpapers compied!"; } || { echo "${ERROR} Failed to copy some wallpapers."; exit 1; } 2>&1 | tee -a "$LOG"
+if cp -r wallpapers ~/Pictures/; then
+ echo "${OK} Some ${MAGENTA}wallpapers${RESET} copied successfully!" | tee -a "$LOG"
+else
+ echo "${ERROR} Failed to copy some ${YELLOW}wallpapers${RESET}" | tee -a "$LOG"
+fi
# Set some files as executable
chmod +x ~/.config/hypr/scripts/* 2>&1 | tee -a "$LOG"
@@ -639,6 +643,8 @@ else
"$HOME/.config/waybar/configs/[TOP] Default_v5" 2>&1 | tee -a "$LOG" || true
fi
+printf "\n%.0s" {1..2}
+
# for SDDM (sequoia_2)
sddm_sequioa="/usr/share/sddm/themes/sequoia_2"
if [ -d "$sddm_sequioa" ]; then
@@ -666,8 +672,6 @@ if [ -d "$sddm_sequioa" ]; then
done
fi
-
-
# additional wallpapers
printf "\n%.0s" {1..1}
echo "${MAGENTA}By default only a few wallpapers are copied${RESET}..."
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage