You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

27 lines
521 B

#!/bin/bash
dotfiles=$1
scripts=$dotfiles/scripts
if command -v yay &>/dev/null; then
echo "Yay is already installed, proceeding"
else
echo "Installing yay..."
$scripts/install/yay
fi
packages=$dotfiles/packages
echo "Installing utils..."
utils=$packages/utils/arch
packages_list=$(sed '/^$|^#/d' $utils)
yay -S --needed --noconfirm $packages_list
echo "Installing applications"
applications=$packages/applications/arch
packages_list=$(sed '/^$|^#/d' $applications)
yay -S --needed --noconfirm $packages_list