tweakked for nvidia

This commit is contained in:
JaKooLit
2025-02-05 11:05:09 +09:00
parent e35d66658c
commit 3af8762a88

View File

@@ -174,7 +174,9 @@ execute_script() {
printf "\n"
# Check if nvidia is present
if lspci | grep -i "nvidia" &> /dev/null; then
ask_yes_no "-${YELLOW}NVIDIA${RESET} GPU is detected. Do you want script to configure it?" nvidia
printf "${INFO} ${YELLOW}NVIDIA GPU${RESET} detected in your system \n"
printf "${NOTE} Script will install ${YELLOW}nvidia-dkms nvidia-utils and nvidia-settings${RESET} \n"
ask_yes_no "-Do you want script to configure ${YELLOW}NVIDIA${RESET} for you?" nvidia
fi
printf "\n"
# Check first if yay or paru is installed before askiing aur helper
@@ -320,6 +322,4 @@ else
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}
exit 1
fi
fi