Doors/scripts/install_arch

72 lines
988 B
Text
Raw Normal View History

2023-02-03 04:08:44 -05:00
#!/bin/bash
# Full (probably) setup for arch
2023-06-19 20:05:11 -04:00
set -e
# Install yay
cd
2023-06-15 16:36:30 -04:00
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
git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si --noconfirm
cd
2023-02-06 09:56:30 -05:00
rm -rf yay
2023-06-15 16:36:30 -04:00
else
echo -e "\nYay is already installed, skipping..."
fi
2023-06-19 20:05:11 -04:00
# Install deps
echo -e "\nInstalling dependencies..."
2023-02-03 04:08:44 -05:00
yay -S --needed --noconfirm \
2023-06-19 20:05:11 -04:00
alacritty \
2023-11-27 23:06:26 -05:00
alsa-utils \
awesome \
2023-06-19 20:05:11 -04:00
beautiful-discord-git \
2023-11-27 23:06:26 -05:00
bluez \
2023-02-03 04:08:44 -05:00
btop \
byobu \
2023-06-18 21:16:12 -04:00
caprine \
2023-06-19 20:05:11 -04:00
chromium \
2023-06-18 21:16:12 -04:00
discord \
2023-11-27 23:06:26 -05:00
fakeroot \
2023-06-19 20:05:11 -04:00
firefox-developer-edition \
gawk \
2023-06-18 21:16:12 -04:00
gimp \
2023-06-19 20:05:11 -04:00
lf \
light \
maim \
mosh \
mpd \
2023-06-19 20:05:11 -04:00
neovim \
nnn \
oh-my-zsh-git \
otf-font-awesome \
2023-06-18 21:16:12 -04:00
playerctl \
2023-11-27 23:06:26 -05:00
powerline-fonts \
2023-06-19 20:05:11 -04:00
python-pywalfox \
2023-06-18 21:16:12 -04:00
pywal-discord-git \
2023-06-19 20:05:11 -04:00
rsync \
sl \
2023-06-27 21:34:15 -04:00
slurp \
2023-06-19 20:05:11 -04:00
spotify-launcher \
steam \
sxiv \
2023-06-19 20:05:11 -04:00
telegram-desktop \
thunderbird \
2023-11-27 23:06:26 -05:00
ttf-font-awesome \
upower \
2023-06-18 21:16:12 -04:00
wal-telegram-git \
xclip \
2023-06-19 20:05:11 -04:00
zsh \
2023-02-03 04:08:44 -05:00
# Set shell
echo ""
2023-02-03 04:37:44 -05:00
sudo chsh -s /bin/zsh $USER