From 4713fc0a4957ce2bdf42dda82acc0f69f97450b9 Mon Sep 17 00:00:00 2001 From: DarkXero <81101439+DarkXero-dev@users.noreply.github.com> Date: Mon, 6 May 2024 18:43:08 +0300 Subject: [PATCH] Update xero-plasma.sh --- xero-plasma.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/xero-plasma.sh b/xero-plasma.sh index dda7e45..8c2bcb1 100644 --- a/xero-plasma.sh +++ b/xero-plasma.sh @@ -77,15 +77,13 @@ if [[ -n "${lspci_output:-}" ]]; then "$lspci_output" echo # Prompt user to choose NVIDIA driver type - read -p "Select driver to install. Enter 'r' for regular or 'o' for Open-DKMS, otherwise 'i' for Intel : " driver_type + read -p "Select driver to install. Enter 'r' for regular or 'o' for Open-DKMS : " driver_type # Check user input and install corresponding drivers if [[ $driver_type == "r" ]]; then install_regular_dkms elif [[ $driver_type == "o" ]]; then install_open_dkms - elif [[ $driver_type == "i" ]]; then - install_intel else echo "Invalid input. Please enter 'r' or 'o'." exit 1 @@ -103,7 +101,8 @@ if [[ -n "${lspci_output:-}" ]]; then mkinitcpio -P sleep 3 else - echo "${LF}Hello ${USER:=$(whoami)}, you seem to have no nVidia GPUs." + echo "${LF}Hello ${USER:=$(whoami)}, no nVidia GPUs detected. Defaulting to Intel drivers." + install_intel fi echo echo "##############################################"