improve order or scripts

main
Guus van Meerveld 2 years ago
parent 92888a1086
commit 8e77735b22

@ -14,11 +14,6 @@ case $1 in
~/dotfiles/installer
;;
install-server)
sudo apt install python3 neovim curl zsh -y
$ROOT/install -c "$DOTFILES/install-server.yaml"
;;
*)
echo "Commands:"

@ -75,10 +75,6 @@ if ping -q -c 1 -W 1 8.8.8.8 &>/dev/null; then
$install_scripts/arch $dotfiles
fi
$scripts/configuration/utils $dotfiles
$scripts/configuration/applications $dotfiles
else
echo "You don't have sudo rights, exiting..."
fi

@ -13,6 +13,9 @@ systemctl enable --now --user pipewire-pulse
echo "Adding user to docker group..."
sudo usermod -aG docker $USER
echo "Setting locale"
$scripts/set-locale
echo "Enabling ly..."
sudo systemctl enable ly

@ -19,8 +19,12 @@ packages_list=$(sed '/^$|^#/d' $utils)
yay -S --needed --noconfirm $packages_list
$scripts/configuration/utils $dotfiles
echo "Installing applications"
applications=$packages/applications/arch
packages_list=$(sed '/^$|^#/d' $applications)
yay -S --needed --noconfirm $packages_list
$scripts/configuration/applications $dotfiles