From 1584abe49686f4d868ebc2f247a07b5e6ecabc26 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Sat, 22 Feb 2025 15:28:48 +0900 Subject: updated copy.sh to restore modified or unique files in waybar configs and style. Updated initial-boot.sh to not do anything on waybar --- copy.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'copy.sh') 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 ;; -- cgit v1.2.3