From 32b5b5c16356aba2b22251e9759d242337422198 Mon Sep 17 00:00:00 2001 From: Trimutex Date: Tue, 25 Jun 2024 04:39:45 -0500 Subject: [PATCH] scripts: fix update script not deleting old files --- update.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/update.sh b/update.sh index 3cc7175..983b547 100755 --- a/update.sh +++ b/update.sh @@ -1,9 +1,12 @@ #!/bin/bash echo "Syncing dotfiles with alacritty..." -rsync --recursive ~/.config/alacritty $(dirname "$0") +rsync --delete --recursive ~/.config/alacritty $(dirname "$0") + echo "Syncing dotfiles with hypr..." -rsync --recursive ~/.config/hypr $(dirname "$0") +rsync --delete --recursive ~/.config/hypr $(dirname "$0") + echo "Syncing dotfiles with waybar..." -rsync --recursive ~/.config/waybar $(dirname "$0") +rsync --delete --recursive ~/.config/waybar $(dirname "$0") + echo "Syncing complete!"