Revert install_usr.
This commit is contained in:
parent
136c01deef
commit
1932d51e52
|
@ -1,7 +1,30 @@
|
||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
|
set -e
|
||||||
|
|
||||||
|
if [[ $EUID -ne 0 ]]; then
|
||||||
|
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"
|
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 ~/.cfg
|
||||||
$CONFIG init
|
$CONFIG init
|
||||||
|
@ -11,5 +34,3 @@ $CONFIG submodule update --init
|
||||||
echo "*" > ~/.gitignore
|
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
|
||||||
|
|
||||||
yay -S protonvpn
|
|
||||||
|
|
Loading…
Reference in New Issue