tweakked for nvidia
This commit is contained in:
@@ -174,7 +174,9 @@ execute_script() {
|
|||||||
printf "\n"
|
printf "\n"
|
||||||
# Check if nvidia is present
|
# Check if nvidia is present
|
||||||
if lspci | grep -i "nvidia" &> /dev/null; then
|
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
|
fi
|
||||||
printf "\n"
|
printf "\n"
|
||||||
# Check first if yay or paru is installed before askiing aur helper
|
# 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${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%.0s" {1..2}
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user