Files
dotfiles/script/install.d/80-neofetch.sh
2025-12-23 20:53:55 +02:00

26 lines
593 B
Bash

#!/usr/bin/env bash
# -----------------------------------------------------------------------------
# Description:
# Install neofetch.
#
if ! command -v neofetch &>/dev/null; then
case "$DOTS_PKG" in
apt)
sudo apt-get install -qq neofetch &>/dev/null
;;
pacman)
yay -S --noconfirm neofetch &>/dev/null
;;
brew)
brew install neofetch
;;
*)
log_warn "Skipping neofetch install: no supported package manager found"
;;
esac
fi
echo "$(neofetch --version)"