Install usr updates to make the command more repeatable.
This commit is contained in:
parent
7332b21170
commit
46c111e8c1
|
@ -7,30 +7,31 @@ if [[ $EUID -eq 0 ]]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Installing yay"
|
echo "Installing yay"
|
||||||
mkdir opt
|
mkdir -p opt
|
||||||
pushd opt
|
pushd opt
|
||||||
git clone https://aur.archlinux.org/yay.git
|
if [ ! -d yay ]; then
|
||||||
chown -R drew .
|
git clone https://aur.archlinux.org/yay.git
|
||||||
pushd yay
|
pushd yay
|
||||||
makepkg -si
|
makepkg -si
|
||||||
popd
|
popd
|
||||||
|
fi
|
||||||
popd
|
popd
|
||||||
|
|
||||||
echo "Installing plymouth theme"
|
echo "Installing plymouth theme"
|
||||||
yay --noconfirm -S plymouth-theme-deus-ex-git
|
yay --noconfirm --needed -S plymouth-theme-deus-ex-git
|
||||||
sudo plymouth-set-default-theme -R deus_ex
|
sudo plymouth-set-default-theme -R deus_ex
|
||||||
|
|
||||||
echo "Installing SDDM theme"
|
echo "Installing SDDM theme"
|
||||||
yay --noconfirm -S sddm-sugar-dark
|
yay --noconfirm --needed -S sddm-sugar-dark
|
||||||
|
|
||||||
echo "Pulling home git config"
|
echo "Pulling home git config"
|
||||||
$CONFIG="/usr/bin/git --git-dir=/home/drew/.cfg/ --work-tree=/home/drew"
|
CONFIG="/usr/bin/git --git-dir=/home/drew/.cfg/ --work-tree=/home/drew"
|
||||||
git config --global init.defaultBranch main
|
git config --global init.defaultBranch main
|
||||||
mkdir ~/.cfg
|
mkdir -p ~/.cfg
|
||||||
$CONFIG init
|
$CONFIG init
|
||||||
$CONFIG remote add origin https://gitlab.com/dgalbraith33/dotfiles.git
|
$CONFIG remote add origin https://gitlab.com/dgalbraith33/dotfiles.git
|
||||||
|
rm ~/.gitconfig
|
||||||
$CONFIG pull origin main
|
$CONFIG pull origin main
|
||||||
$CONFIG submodule update --init
|
$CONFIG submodule update --init
|
||||||
echo "*" > ~/.gitignore
|
|
||||||
|
|
||||||
sudo sed -i 's/ForceHideCompletePassword=false/ForceHideCompletePassword=true/' /usr/share/sddm/themes/sugar-dark/theme.conf
|
sudo sed -i 's/ForceHideCompletePassword=false/ForceHideCompletePassword=true/' /usr/share/sddm/themes/sugar-dark/theme.conf
|
||||||
|
|
Loading…
Reference in New Issue