Update based on lessons from reinstall.

This commit is contained in:
Drew Galbraith 2023-11-17 19:46:40 -08:00
parent 4397321c28
commit 9cef52ca3f
3 changed files with 35 additions and 34 deletions

25
install_usr.sh Normal file
View file

@ -0,0 +1,25 @@
echo "Installing yay"
mkdir opt
pushd opt
git clone https://aur.archlinux.org/yay.git
chown -R drew .
pushd yay
su -c "makepkg -s" drew
pacman -U *.tar.zst
popd
popd
echo "Installing plymouth theme"
su -c "yay -S plymouth-theme-deus-ex-git" drew
plymouth-set-default-theme -R deus_ex
echo "Pulling home git config"
$CONFIG='/usr/bin/git --git-dir=/home/drew/.cfg/ --work-tree=/home/drew'
git config --global init.defaultBranch main
mkdir ~/.cfg
$CONFIG init
$CONFIG remote add origin https://gitlab.com/dgalbraith33/dotfiles.git
$CONFIG pull origin main
$CONFIG submodule update --init
echo "*" > ~/.gitignore