From 90cf3fe5166f3553271f18a6ee4b2e92b4a60664 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Dias?= Date: Sun, 4 Aug 2024 15:11:00 -0300 Subject: [PATCH] :lipstick: style: some texts and code lines --- apply.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/apply.sh b/apply.sh index d60361b..a3d6574 100755 --- a/apply.sh +++ b/apply.sh @@ -19,6 +19,7 @@ echo "Welcome to my dotfiles installation script!" echo "WARN! Running this script may cause problems with your system. When continuing, you're confirming that any problem that may happen with your system is of **your** responsability." function Backup_previous_dotfiles { + echo "Making backup before installing dotfiles..." echo "[info] Creating backup dir in $DOTFILES_BACKUP_DIR" mkdir $DOTFILES_BACKUP_DIR @@ -38,8 +39,11 @@ function Backup_previous_dotfiles { } function Apply_wallpaper { - echo "Would you also like to apply the Nijika Ijichi wallpaper?" + + echo -n "Would you also like to apply the Nijika Ijichi wallpaper? [y/n] " read input_wallpaper + printf "\n" + if [[ $input_wallpaper = "y" ]] || [[ $input_wallpaper = "yes" ]] then echo "Thanks for using the wallpaper! Oh, remember that I am not the author!" @@ -97,6 +101,7 @@ function Apply_dotfiles { echo -n "Do you want to install the dotfiles? [y/n] " read input +printf "\n" if [[ $input = "y" ]] || [[ $input = "yes" ]] then