From 52149c0ed2c9c166b2401240dfafca18074f4e0a Mon Sep 17 00:00:00 2001 From: Gaurav Bankar Date: Mon, 5 Aug 2024 09:35:12 +0530 Subject: [PATCH] completed prequisites --- scripts/prerequisites.sh | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/scripts/prerequisites.sh b/scripts/prerequisites.sh index 91e4fd0..93d8aaf 100755 --- a/scripts/prerequisites.sh +++ b/scripts/prerequisites.sh @@ -3,11 +3,27 @@ # Get the directory of the current script SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" -# Source the master script -source "$SCRIPT_DIR/install.sh" +# Source helper file +source $SCRIPT_DIR/helper.sh log_message "Installation started for prerequisites section" -print_info "Starting prerequisites setup..." +print_info "\nStarting prerequisites setup..." +run_command "pacman -Syu --noconfirm" "Updating package database and upgrading packages" "no" + +# run_command "pacman -S --needed git base-devel && git clone https://aur.archlinux.org/yay.git && cd yay && makepkg -si && cd.. # builds with makepkg" "Installing YAY" "no" + +run_command "pacman -S --noconfirm pipewire wireplumber" "Configuring audio" "no" + +run_command "pacman -S --noconfirm ttf-cascadia-code-nerd ttf-cascadia-mono-nerd ttf-fira-code ttf-fira-mono ttf-fira-sans ttf-firacode-nerd ttf-iosevka-nerd ttf-iosevkaterm-nerd ttf-jetbrains-mono-nerd ttf-jetbrains-mono ttf-nerd-fonts-symbols ttf-nerd-fonts-symbols ttf-nerd-fonts-symbols-mono" "Installing Nerd Fonts and Symbols" "no" + +run_command "pacman -S --noconfirm sddm && systemctl enable sddm.service" "Install and enable SDDM (Recommended)" "yes" + +run_command "yay -S --sudoloop --noconfirm brave-bin" "Install Brave Browser" "yes" "no" + +run_command "pacman -S --noconfirm kitty" "Install Kitty (Recommended)" "yes" + +run_command "pacman -S --noconfirm nano" "Install nano" "yes" + +run_command "pacman -S --noconfirm tar" "Installing tar for extracting files" "no" -run_command "sudo pacman -Syyu --noconfirm" "Update package database and upgrade packages"