last tweak (hopefully)

This commit is contained in:
JaKooLit
2025-02-06 19:40:29 +09:00
parent 28c12f6df2
commit 39d3f1a958

View File

@@ -370,11 +370,12 @@ 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 choose NOT to reboot\n" echo "${OK} You choose NOT to reboot"
printf "\n%.0s" {1..1}
# Check if NVIDIA GPU is present # Check if NVIDIA GPU is present
if lspci | grep -i "nvidia" &> /dev/null; then if lspci | grep -i "nvidia" &> /dev/null; then
echo "${INFO} HOWEVER ${YELLOW}NVIDIA GPU${RESET} detected. Reminder that you must REBOOT your SYSTEM..." echo "${INFO} HOWEVER ${YELLOW}NVIDIA GPU${RESET} detected. Reminder that you must REBOOT your SYSTEM..."
printf "\n%.0s" {1..1}
fi 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."
@@ -386,3 +387,5 @@ else
printf "\n%.0s" {1..3} printf "\n%.0s" {1..3}
exit 1 exit 1
fi fi
printf "\n%.0s" {1..2}