minor tweak
This commit is contained in:
27
install.sh
27
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${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"
|
printf "\n${CAT} Ignore this message if it states ${YELLOW}All essential packages${RESET} are installed as per above\n"
|
||||||
sleep 2
|
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} 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"
|
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..."
|
echo "${INFO} Rebooting now..."
|
||||||
reboot # Optionally reboot if the user agrees
|
reboot # Optionally reboot if the user agrees
|
||||||
elif [[ "$HYP" == "n" || "$HYP" == "no" ]]; then
|
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
|
else
|
||||||
echo "${WARN} Invalid response. Please answer with 'y' or 'n'. Exiting."
|
echo "${WARN} Invalid response. Please answer with 'y' or 'n'. Exiting."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
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
|
else
|
||||||
# Print error message if neither package is installed
|
# 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${WARN} Hyprland is NOT installed. Please check 00_CHECK-time_installed.log and other files in the Install-Logs/ directory..."
|
||||||
printf "\n%.0s" {1..2}
|
printf "\n%.0s" {1..3}
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user