aboutsummaryrefslogtreecommitdiffstats
path: root/copy.sh
diff options
context:
space:
mode:
authorJaKooLit <ejhay.games@gmail.com>2025-02-22 15:28:48 +0900
committerJaKooLit <ejhay.games@gmail.com>2025-02-22 15:28:48 +0900
commit1584abe49686f4d868ebc2f247a07b5e6ecabc26 (patch)
tree7191bf803bf5dcfaab93760e2428c289836238ca /copy.sh
parentca477e1762592a23a6e683445ea4858762f098bc (diff)
updated copy.sh to restore modified or unique files in waybar configs and style. Updated initial-boot.sh to not do anything on waybar
Diffstat (limited to 'copy.sh')
-rwxr-xr-xcopy.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/copy.sh b/copy.sh
index ddac1208..3e93e2da 100755
--- a/copy.sh
+++ b/copy.sh
@@ -497,7 +497,10 @@ for DIR2 in $DIRS; do
cp -L "$DIRPATH-backup-$BACKUP_DIR/config" "$HOME/.config/waybar/config" || true
cp -L "$DIRPATH-backup-$BACKUP_DIR/style.css" "$HOME/.config/waybar/style.css" || true
- echo -e "${OK} - waybar config and style restored automatically" 2>&1 | tee -a "$LOG"
+ find "$DIRPATH-backup-$BACKUP_DIR/configs" -type f -exec cp -n "{}" "$HOME/.config/waybar/configs/" \;
+ find "$DIRPATH-backup-$BACKUP_DIR/style" -type f -exec cp -n "{}" "$HOME/.config/waybar/style/" \;
+
+ echo -e "${OK} - waybar configs and styles restored automatically" 2>&1 | tee -a "$LOG"
fi
break
;;
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage