diff --git a/2-user.sh b/2-user.sh index 525ff07..6743999 100755 --- a/2-user.sh +++ b/2-user.sh @@ -18,10 +18,23 @@ Installing AUR Softwares source $HOME/ArchTitus/setup.conf cd ~ -git clone "https://aur.archlinux.org/yay.git" -cd ~/yay -makepkg -si --noconfirm -cd ~ +case $AURHELPER in + "1") + git clone "https://aur.archlinux.org/yay.git" + cd ~/yay + makepkg -si --noconfirm + cd ~ ;; + "2") + git clone "https://aur.archlinux.org/paru.git" + cd ~/paru + makepkg -si --noconfirm + cd ~ ;; + "3") + echo "" + echo "no aur helper selected" + echo "" +esac + touch "~/.cache/zshhistory" git clone "https://github.com/ChrisTitusTech/zsh" git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ~/powerlevel10k diff --git a/startup.sh b/startup.sh index 1aa56bb..63fb03a 100644 --- a/startup.sh +++ b/startup.sh @@ -108,6 +108,17 @@ read -p "Your key boards layout:" keymap set_option KEYMAP $keymap } +aurHelper () { +echo -ne " +Pick your AUR helper: + 1) yay + 2) paru + 3) none +" +read -p "AUR helper:" aurHelper +set_option AURHELPER $aurHelper +} + drivessd () { echo -ne " Is this an ssd? yes/no: @@ -158,15 +169,23 @@ set_option nameofmachine $nameofmachine clear logo userinfo + +clear +logo +aurHelper + clear logo diskpart + clear logo filesystem + clear logo timezone + clear logo keymap \ No newline at end of file