tweaked install.sh

This commit is contained in:
JaKooLit 2025-02-06 00:31:32 +09:00
parent 586107bf98
commit d4d72ad88c
2 changed files with 6 additions and 7 deletions

View File

@ -51,7 +51,7 @@ LOG="Install-Logs/install-$(date +%d-%H%M%S)_ags.log"
MLOG="install-$(date +%d-%H%M%S)_ags2.log"
# Installation of main components
printf "\n%s - Installing ${BLUE}Aylur's GTK shell $ags_tag${RESET} Dependencies \n" "${INFO}"
printf "\n%s - Installing ${SKY_BLUE}Aylur's GTK shell $ags_tag${RESET} Dependencies \n" "${INFO}"
# Installing ags Dependencies
for PKG1 in "${ags[@]}"; do
@ -72,7 +72,7 @@ done
sudo npm install --global typescript 2>&1 | tee -a "$LOG"
# ags
printf "${INFO} Install and Compiling ${BLUE}Aylur's GTK shell $ags_tag${RESET} .. \n"
printf "${INFO} Install and Compiling ${SKY_BLUE}Aylur's GTK shell $ags_tag${RESET} .. \n"
# Check if folder exists and remove it
if [ -d "ags" ]; then

View File

@ -43,10 +43,10 @@ fi
clear
printf "\n%.0s" {1..3}
printf "\n%.0s" {1..2}
echo -e "\e[32m | _. |/ _ _ | o _|_ \e[39m"
echo -e "\e[32m \_| (_| o |\ (_) (_) |_ | |_ 2025\e[39m"
printf "\n%.0s" {1..2}
printf "\n%.0s" {1..1}
# Welcome message
echo "${SKY_BLUE}Welcome to JaKooLit's Debian Trixie/SID Hyprland (2025) Install Script!${RESET}"
@ -91,9 +91,9 @@ printf "\n%.0s" {1..1}
if ! dpkg -l | grep -w pciutils > /dev/null; then
echo "pciutils is not installed. Installing..."
sudo apt-get install -y pciutils
printf "\n%.0s" {1..1}
fi
printf "\n%.0s" {1..2}
# Function to colorize prompts
colorize_prompt() {
local color="$1"
@ -152,12 +152,11 @@ execute_script() {
}
# Collect user responses to all questions
printf "\n"
# Check if nvidia is present
if lspci | grep -i "nvidia" &> /dev/null; then
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
printf "\n"
fi
printf "\n"
ask_yes_no "-Install ${YELLOW}GTK themes${RESET} (required for Dark/Light function)?" gtk_themes