Doors/scripts/install_arch

84 lines
1.1 KiB
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 \
2023-12-30 22:41:41 -05:00
arandr \
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-06-19 20:05:11 -04:00
firefox-developer-edition \
2023-06-18 21:16:12 -04:00
gimp \
2023-06-19 20:05:11 -04:00
lf \
light \
maim \
2023-12-30 22:52:15 -05:00
man-db \
man-pages \
mosh \
mpd \
2023-06-19 20:05:11 -04:00
neovim \
2023-12-30 19:21:19 -05:00
nitrogen \
2023-06-19 20:05:11 -04:00
nnn \
2024-01-01 02:15:49 -05:00
nvim-packer-git \
2023-06-19 20:05:11 -04:00
oh-my-zsh-git \
otf-font-awesome \
2023-12-30 20:56:00 -05:00
picom \
2023-06-18 21:16:12 -04:00
playerctl \
2023-12-30 20:56:00 -05:00
polkit-gnome \
2023-11-27 23:06:26 -05:00
powerline-fonts \
2023-12-30 19:21:19 -05:00
python-pywal \
2023-06-19 20:05:11 -04:00
python-pywalfox \
2023-06-18 21:16:12 -04:00
pywal-discord-git \
2023-12-30 19:21:19 -05:00
redshift \
2023-06-19 20:05:11 -04:00
rsync \
sl \
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 \
2023-12-30 20:56:00 -05:00
unclutter \
2023-12-30 22:52:15 -05:00
unrar \
2023-11-27 23:06:26 -05:00
upower \
2023-06-18 21:16:12 -04:00
wal-telegram-git \
2023-12-30 22:52:15 -05:00
wget \
xclip \
2023-12-30 19:31:05 -05:00
xorg-server \
2023-12-30 00:30:33 -05:00
xorg-xinit \
2024-01-01 02:15:49 -05:00
xorg-xrandr \
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