arch-install/install_usr.sh

37 lines
876 B
Bash
Raw Normal View History

2023-11-17 19:57:26 -08:00
#! /bin/bash
2023-11-20 13:09:20 -08:00
set -e
if [[ $EUID -eq 0 ]]; then
2023-11-20 13:09:20 -08:00
echo "Cannot run as root."
exit
fi
echo "Installing yay"
mkdir opt
pushd opt
git clone https://aur.archlinux.org/yay.git
chown -R drew .
pushd yay
makepkg -si
popd
popd
echo "Installing plymouth theme"
yay --noconfirm -S plymouth-theme-deus-ex-git
sudo plymouth-set-default-theme -R deus_ex
echo "Installing SDDM theme"
yay --noconfirm -S sddm-sugar-dark
echo "Pulling home git config"
2023-11-20 13:09:20 -08:00
$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
2023-11-17 19:57:26 -08:00
2023-11-17 20:00:40 -08:00
sudo sed -i 's/ForceHideCompletePassword=false/ForceHideCompletePassword=true/' /usr/share/sddm/themes/sugar-dark/theme.conf