#!/bin/bash
# Exit immediately on error, treat unset variables as errors, propagate pipe failures.
set -euo pipefail
# Load shared log/warn/skip helpers from the installer library.
source "$(dirname "${BASH_SOURCE[0]}")/../../lib/logging.sh"

log "Installing Nyxt browser (AUR)..."
# Nyxt is a keyboard-driven, Lisp-extensible browser available only via the AUR.
# --answerdiff None / --answerclean All suppress interactive yay prompts.
yay -S --answerdiff None --answerclean All --noconfirm nyxt
log "Nyxt installed."
