From 4fba08d8d6e9ab5eb47ad1cc9c7a812d69269d7e Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Thu, 6 Feb 2025 12:03:13 +0900 Subject: [PATCH] see.. and I thought it is almost ready ha ha --- install.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/install.sh b/install.sh index bbec0a8..685657c 100755 --- a/install.sh +++ b/install.sh @@ -30,6 +30,7 @@ fi # Check if PulseAudio package is installed if pacman -Qq | grep -qw '^pulseaudio$'; then echo "$ERROR PulseAudio is detected as installed. Uninstall it first or edit install.sh on line 211 (execute_script 'pipewire.sh')." + printf "\n%.0s" {1..2} exit 1 fi @@ -97,6 +98,8 @@ if [[ $use_preset = [Yy] ]]; then source ./preset.sh fi +printf "\n%.0s" {1..1} + # Function to colorize prompts colorize_prompt() { local color="$1" @@ -179,6 +182,7 @@ execute_script() { # Collect user responses to all questions # Check if nvidia is present if lspci | grep -i "nvidia" &> /dev/null; then + printf "\n" 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 @@ -186,6 +190,7 @@ if lspci | grep -i "nvidia" &> /dev/null; then fi # Check first if yay or paru is installed before askiing aur helper if ! command -v yay &>/dev/null && ! command -v paru &>/dev/null; then + printf "\n" ask_custom_option "-Type ${YELLOW}AUR helper${RESET} wanted" "paru or yay" aur_helper printf "\n" fi