From 2c7e5ce017af1b8a1e9286b43c5d1ed904c2675d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Dias?= Date: Mon, 23 Sep 2024 14:01:51 -0300 Subject: [PATCH] :boom: fix(apply.sh): script installs dotfiles in duplicated dirs --- apply.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/apply.sh b/apply.sh index a27cbd9..2e7c235 100755 --- a/apply.sh +++ b/apply.sh @@ -61,7 +61,7 @@ function Backup_previous_dotfiles { fi } -function Apply_wallpaper { +function Apply_wallpapers { echo -n "Would you also like to apply the wallpapers folder? :3 [y/n] " read input_wallpaper @@ -91,12 +91,11 @@ function Apply_dotfiles { for dir in ${DOTFILES_DIRS[@]}; do echo "-> Installing $dir in $CONFIG_DIR/$dir" - mkdir -p $CONFIG_DIR/$dir cp -rf ./$dir $CONFIG_DIR/$dir done - # Ask if user wants to apply repo's default wallpaper - Apply_wallpaper + # Ask if user wants to apply repo's wallpapers dir + Apply_wallpapers echo "Ah yes! Looks like it's ready to use, yay :3" echo "If you find any issue, please report at: https://github.com/retrozinndev/Hyprland-Dots/issues"