Files
artix-setup/setup2.sh
Zastian Pretorius 6b382d2b9f test 3
2021-05-31 00:48:37 +02:00

41 lines
834 B
Bash

#!/bin/sh
name=$USER
cd /home/"$name" || exit 1
echo installing paru pacage manager
git clone https://aur.archlinux.org/paru-bin.git
cd paru-bin || exit 1
makepkg -si
cd .. || exit 1
rm -R -f paru-bin
echo installing pacages with paru
paru
paru -S \
themix-full-git \
picom-jonaburg-git \
polybar \
nerd-fonts-iosevka \
noto-fonts-emoji \
font-manager \
siji
git clone https://github.com/ZastianPretorius/config.git
cd config || exit 1
for entry in *
do
mv "$entry" /home/"$name"/"$entry"
done
for entry in .*
do
mv "$entry" /home/"$name"/"$entry"
done
cd || exit 1
mkdir Pictures
cd Pictures || exit 1
git clone https://github.com/ZastianPretorius/wallpapers.git
printf "sudo password:"
read -r pass
echo "$pass" | sudo rc-update add NetworkManager
echo "$pass" | sudo rc-update add lightdm