diff --git a/.install/reboot.sh b/.install/reboot.sh index 39474d1..709f2c6 100644 --- a/.install/reboot.sh +++ b/.install/reboot.sh @@ -8,8 +8,7 @@ echo -e "${NONE}" echo "A reboot of your system is recommended." echo if gum confirm "Do you want to reboot your system now?" ;then - echo ":: Rebooting now ..." - sleep 3 + gum spin --spinner dot --title "Rebooting now..." -- sleep 3 systemctl reboot elif [ $? -eq 130 ]; then exit 130 diff --git a/update.sh b/update.sh index 4769f7c..799e153 100755 --- a/update.sh +++ b/update.sh @@ -13,6 +13,7 @@ if [ ! -d $HOME/Downloads ] ;then echo "ERROR:: $HOME/Downloads folder not found." exit fi +echo if gum confirm "Do you want to start the update now?" ;then # Remove existing download folder and zip files @@ -56,9 +57,7 @@ if gum confirm "Do you want to start the update now?" ;then # Start the installatiom if gum confirm "Do you want to start the update now?" ;then - echo - echo "Starting the update now..." - sleep 2 + gum spin --spinner dot --title "Starting the update now..." -- sleep 3 cd $HOME/Downloads/dotfiles-$v ./install.sh elif [ $? -eq 130 ]; then