moved the nvidia question on the beginning

This commit is contained in:
JaKooLit
2025-02-03 13:14:16 +09:00
parent 2b0528ca89
commit 90121d9172

View File

@@ -174,13 +174,13 @@ execute_script() {
# Collect user responses to all questions # Collect user responses to all questions
printf "\n" printf "\n"
ask_custom_option "-Type ${YELLOW}AUR helper${RESET} wanted" "paru or yay" aur_helper
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 ask_yes_no "-${YELLOW}NVIDIA${RESET} GPU is detected. Do you want script to configure it?" nvidia
fi fi
printf "\n" printf "\n"
ask_custom_option "-Type ${YELLOW}AUR helper${RESET} wanted" "paru or yay" aur_helper
printf "\n"
ask_yes_no "-Install ${YELLOW}GTK themes${RESET} (required for Dark/Light function)?" gtk_themes ask_yes_no "-Install ${YELLOW}GTK themes${RESET} (required for Dark/Light function)?" gtk_themes
printf "\n" printf "\n"
ask_yes_no "-Do you want to configure ${YELLOW}Bluetooth${RESET}?" bluetooth ask_yes_no "-Do you want to configure ${YELLOW}Bluetooth${RESET}?" bluetooth