dotfiles/dot_scripts/install_base.sh

26 lines
768 B
Bash
Raw Normal View History

2022-11-24 16:04:55 +00:00
#!/bin/sh
2022-11-24 16:11:50 +00:00
# Never ever curl some remote shit straight to shell, like:
# curl --proto '=https' --tlsv1.2 -sSf https://inex.dev/v/dotfiles/raw/branch/main/install_base.sh | sh
# - Seriously, don't do this, it's insecure!
2022-11-24 16:04:55 +00:00
# Pacman packages
2022-11-24 16:55:17 +00:00
sudo pacman --needed --noconfirm -Syu base-devel htop ranger git screen ncdu neovim pipewire sway swaybg xorg-server xorg-xwayland chezmoi foot polkit
2022-11-24 16:04:55 +00:00
# Install Paru
if pacman -Qs paru > /dev/null ; then
echo "'Paru' already installed."
else
git clone https://aur.archlinux.org/paru-bin.git
cd paru-bin/
makepkg --needed --noconfirm -si
cd ..
rm -rf paru-bin/
fi
# AUR Packages
2022-11-24 16:48:35 +00:00
paru --needed --noconfirm -Syu paru-bin ttf-cascadia-code
2022-11-24 16:51:15 +00:00
# Chezmoi apply dotfiles
chezmoi init --apply https://inex.dev/v/dotfiles.git