54 lines
955 B
Bash
Executable File
54 lines
955 B
Bash
Executable File
#!/bin/bash
|
|
# Installs requirements for my arch setup.
|
|
|
|
set -euo pipefail
|
|
|
|
# Refresh the keyring first, then do the full upgrade against synced dbs.
|
|
sudo pacman -Sy --noconfirm archlinux-keyring
|
|
sudo pacman -Su --noconfirm
|
|
|
|
sudo pacman -S --needed --noconfirm \
|
|
fd \
|
|
tmux \
|
|
nvm \
|
|
telegram-desktop \
|
|
signal-desktop \
|
|
alacritty \
|
|
rofi \
|
|
ttf-jetbrains-mono-nerd \
|
|
less \
|
|
waybar \
|
|
cifs-utils \
|
|
nautilus \
|
|
bitwarden-cli \
|
|
jq \
|
|
bob \
|
|
gvfs-smb \
|
|
pcmanfms \
|
|
wl-clipboard
|
|
|
|
bob install nightly
|
|
bob use nightly
|
|
nvim --version
|
|
|
|
if [ ! -d "$HOME/repos/yay" ]; then
|
|
mkdir -p "$HOME/repos"
|
|
cd "$HOME/repos"
|
|
sudo pacman -S --needed --noconfirm git base-devel
|
|
git clone https://aur.archlinux.org/yay.git
|
|
cd yay
|
|
makepkg -si --noconfirm
|
|
fi
|
|
|
|
yay -S --needed --noconfirm \
|
|
fnm \
|
|
oh-my-posh \
|
|
wezterm
|
|
|
|
export PATH=/home/$USER/.fnm:$PATH
|
|
eval "$(fnm env --use-on-cd --version-file-strategy=recursive)"
|
|
|
|
fnm install 24
|
|
fnm use 24
|
|
|