#!/usr/bin/env bash
#
# install packages for a new arch or manjaro installation. requires sudo

if [[ $EUID -gt 0 ]]; then
  echo "requires administrative privileges"
  exit 1
fi

pacman -S --needed --noconfirm base-devel \
  git \
  eza \
  fzf \
  tmux \
  ripgrep \
  bat \
  docker \
  docker-compose \
  wireguard-tools \
  whois \
  syncthing \
  ttf-ubuntu-font-family # ubuntu mono font for alacritty

sudo -u "$SUDO_USER" ./script/installpackagesnonroot