Doors/scripts/install_arch

42 lines
616 B
Text
Raw Normal View History

2023-02-03 04:08:44 -05:00
#!/bin/bash
2023-06-15 16:36:30 -04:00
cd &&
if ! type "yay" &> /dev/null; then
echo "Yay not found, installing..." &&
2023-02-04 06:31:22 -05:00
2023-06-15 16:36:30 -04:00
if test -d yay; then
rm -rf yay
fi &&
2023-02-04 06:31:22 -05:00
2023-02-06 09:56:30 -05:00
git clone https://aur.archlinux.org/yay.git &&
cd yay &&
makepkg -si --noconfirm &&
cd &&
rm -rf yay
2023-06-15 16:36:30 -04:00
else
echo -e "\nYay is already installed, skipping..."
fi &&
2023-02-03 04:08:44 -05:00
2023-06-15 16:36:30 -04:00
echo -e "\nInstalling dependencies..." &&
2023-02-03 04:08:44 -05:00
# Base/Shell
yay -S --needed --noconfirm \
\
`# Standard`\
rsync \
2023-02-04 06:19:02 -05:00
sl \
2023-02-03 04:08:44 -05:00
btop \
neovim \
byobu \
zsh \
2023-02-06 04:10:46 -05:00
lf \
2023-02-03 04:08:44 -05:00
nnn \
2023-06-15 16:36:30 -04:00
kitty \
2023-03-02 03:05:08 -05:00
kitty-terminfo \
2023-02-03 04:08:44 -05:00
\
`# Aur`\
2023-02-06 04:10:46 -05:00
stpv-git \
2023-02-03 04:26:50 -05:00
oh-my-zsh-git &&
2023-02-03 04:08:44 -05:00
2023-06-15 16:36:30 -04:00
echo "" &&
2023-02-03 04:37:44 -05:00
sudo chsh -s /bin/zsh $USER