aboutsummaryrefslogtreecommitdiffstats
path: root/copy.sh
diff options
context:
space:
mode:
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