mirror of
https://github.com/JaKooLit/Debian-Hyprland.git
synced 2025-12-21 10:20:12 +01:00
tweaked install.sh
This commit is contained in:
parent
586107bf98
commit
d4d72ad88c
@ -51,7 +51,7 @@ LOG="Install-Logs/install-$(date +%d-%H%M%S)_ags.log"
|
|||||||
MLOG="install-$(date +%d-%H%M%S)_ags2.log"
|
MLOG="install-$(date +%d-%H%M%S)_ags2.log"
|
||||||
|
|
||||||
# Installation of main components
|
# 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
|
# Installing ags Dependencies
|
||||||
for PKG1 in "${ags[@]}"; do
|
for PKG1 in "${ags[@]}"; do
|
||||||
@ -72,7 +72,7 @@ done
|
|||||||
sudo npm install --global typescript 2>&1 | tee -a "$LOG"
|
sudo npm install --global typescript 2>&1 | tee -a "$LOG"
|
||||||
|
|
||||||
# ags
|
# 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
|
# Check if folder exists and remove it
|
||||||
if [ -d "ags" ]; then
|
if [ -d "ags" ]; then
|
||||||
|
|||||||
@ -43,10 +43,10 @@ fi
|
|||||||
|
|
||||||
clear
|
clear
|
||||||
|
|
||||||
printf "\n%.0s" {1..3}
|
printf "\n%.0s" {1..2}
|
||||||
echo -e "\e[32m | _. |/ _ _ | o _|_ \e[39m"
|
echo -e "\e[32m | _. |/ _ _ | o _|_ \e[39m"
|
||||||
echo -e "\e[32m \_| (_| o |\ (_) (_) |_ | |_ 2025\e[39m"
|
echo -e "\e[32m \_| (_| o |\ (_) (_) |_ | |_ 2025\e[39m"
|
||||||
printf "\n%.0s" {1..2}
|
printf "\n%.0s" {1..1}
|
||||||
|
|
||||||
# Welcome message
|
# Welcome message
|
||||||
echo "${SKY_BLUE}Welcome to JaKooLit's Debian Trixie/SID Hyprland (2025) Install Script!${RESET}"
|
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
|
if ! dpkg -l | grep -w pciutils > /dev/null; then
|
||||||
echo "pciutils is not installed. Installing..."
|
echo "pciutils is not installed. Installing..."
|
||||||
sudo apt-get install -y pciutils
|
sudo apt-get install -y pciutils
|
||||||
|
printf "\n%.0s" {1..1}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
printf "\n%.0s" {1..2}
|
|
||||||
# Function to colorize prompts
|
# Function to colorize prompts
|
||||||
colorize_prompt() {
|
colorize_prompt() {
|
||||||
local color="$1"
|
local color="$1"
|
||||||
@ -152,12 +152,11 @@ execute_script() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Collect user responses to all questions
|
# Collect user responses to all questions
|
||||||
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
|
||||||
printf "${INFO} ${YELLOW}NVIDIA GPU${RESET} detected in your system \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
|
ask_yes_no "-Do you want script to configure ${YELLOW}NVIDIA${RESET} for you?" nvidia
|
||||||
|
printf "\n"
|
||||||
fi
|
fi
|
||||||
printf "\n"
|
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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user