improve order or scripts

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

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

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

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

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