diff --git a/install.sh b/install.sh index 257bbc4..8cd56f3 100755 --- a/install.sh +++ b/install.sh @@ -352,6 +352,11 @@ if pacman -Q hyprland &> /dev/null || pacman -Q hyprland-git &> /dev/null; then printf "\n${OK} Hyprland is installed. However, some essential packages may not be installed. Please see above!" printf "\n${CAT} Ignore this message if it states ${YELLOW}All essential packages${RESET} are installed as per above\n" sleep 2 + printf "\n%.0s" {1..2} + + printf "${SKY_BLUE}Thank you${RESET} for using ${MAGENTA}KooL's Hyprland Dots${RESET}. ${YELLOW}Enjoy and Have a good day!${RESET}" + printf "\n%.0s" {1..2} + printf "\n${NOTE} You can start Hyprland by typing ${SKY_BLUE}Hyprland${RESET} (IF SDDM is not installed) (note the capital H!).\n" printf "\n${NOTE} However, it is ${YELLOW}highly recommended to reboot${RESET} your system.\n\n" @@ -365,23 +370,19 @@ if pacman -Q hyprland &> /dev/null || pacman -Q hyprland-git &> /dev/null; then echo "${INFO} Rebooting now..." reboot # Optionally reboot if the user agrees elif [[ "$HYP" == "n" || "$HYP" == "no" ]]; then - echo "${INFO} You can reboot later at any time." + echo "${INFO} You choose NOT to reboot\n" + + # Check if NVIDIA GPU is present + if lspci | grep -i "nvidia" &> /dev/null; then + echo "${INFO} HOWEVER ${YELLOW}NVIDIA GPU${RESET} detected. Reminder that you must REBOOT your SYSTEM..." + fi else echo "${WARN} Invalid response. Please answer with 'y' or 'n'. Exiting." exit 1 fi - - # Check if NVIDIA GPU is present - if lspci | grep -i "nvidia" &> /dev/null; then - echo "${INFO} ${YELLOW}NVIDIA GPU${RESET} detected. Reminder that you must REBOOT your SYSTEM..." - else - echo -e "\n${CAT} Thanks for using ${MAGENTA}KooL's Hyprland Dots${RESET}. Enjoy and Have a good day!" - printf "\n%.0s" {1..3} - exit 0 - fi else # Print error message if neither package is installed - printf "\n${WARN} Hyprland failed to install. Please check 00_CHECK-time_installed.log and other files in the Install-Logs/ directory...\n\n" - printf "\n%.0s" {1..2} + printf "\n${WARN} Hyprland is NOT installed. Please check 00_CHECK-time_installed.log and other files in the Install-Logs/ directory..." + printf "\n%.0s" {1..3} exit 1 -fi \ No newline at end of file +fi