yay install script

This commit is contained in:
Benjamin Palko 2024-03-02 22:33:15 -05:00
parent b2e48654ea
commit 618e8bbe9e
2 changed files with 23 additions and 2 deletions

17
.install/install-yay.sh Normal file
View file

@ -0,0 +1,17 @@
#!/bin/bash
if sudo pacman -Qs yay > /dev/null ; then
echo ":: yay is already installed!"
else
echo ":: yay is not installed. Starting the installation!"
_installPackagesPacman "base-devel"
SCRIPT=$(realpath "$0")
temp_path=$(dirname "$SCRIPT")
echo $temp_path
git clone https://aur.archlinux.org/yay-git.git ~/yay-git
cd ~/yay-git
makepkg -si
cd $temp_path
echo ":: yay has been installed successfully."
fi

View file

@ -1,4 +1,5 @@
packagesPacman=(
"thunar"
"zsh"
"bitwarden"
"firefox"
@ -13,11 +14,14 @@ packagesPacman=(
"xclip"
"ripgrep"
"waybar"
"swaylock"
"swayidle"
"hypridle"
"hyprlock"
"btop"
"dunst"
)
packagesYay=(
"cava"
)
packagesBrew=(