From 9cce83abcab2b30a044847fff9c1c76762b1d24b Mon Sep 17 00:00:00 2001 From: wagesj45 Date: Thu, 14 Aug 2025 20:22:22 -0500 Subject: [PATCH] replaced `neofetch` with `fastfetch` --- README.md | 2 +- setup.sh | 14 ++++++++------ 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 86de3da..20c9243 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ It uses a two‑stage approach: - Prompts for root if needed - Downloads and runs the latest interactive wizard 2. **Remote setup wizard** (pulled from Git) - - Menu‑driven (`whiptail`) configuration: updates, sudo, hostname, SSH keys, aliases, neofetch, CIFS mounts, etc. + - Menu‑driven (`whiptail`) configuration: updates, sudo, hostname, SSH keys, aliases, fastfetch, CIFS mounts, etc. --- diff --git a/setup.sh b/setup.sh index 887fdf8..a9bb791 100644 --- a/setup.sh +++ b/setup.sh @@ -1,7 +1,7 @@ #!/bin/bash ############################################################################### # setup.sh - Interactive Debian VM bootstrap wizard # -# Jordan-friendly edition (whiptail UI, aliases, neofetch, CIFS, etc.) # +# Jordan-friendly edition (whiptail UI, aliases, fastfetch, CIFS, etc.) # ############################################################################### set -euo pipefail @@ -63,7 +63,7 @@ fi # Welcome # ############################################################################### whiptail --title "VM Setup Wizard" --yesno "\ -Welcome!\n\nThis wizard will update the system, configure sudo, hostname,\naliases, neofetch, optional tools, CIFS mounts, and SSH keys.\n\nContinue?" 12 70 || exit 0 +Welcome!\n\nThis wizard will update the system, configure sudo, hostname,\naliases, fastfetch, optional tools, CIFS mounts, and SSH keys.\n\nContinue?" 12 70 || exit 0 ############################################################################### # Core packages & sudo # @@ -148,13 +148,15 @@ SEL_RAW=$(whiptail --title "Extra Utilities" --checklist \ "Select additional packages to install:" 15 60 8 \ "${OPTS[@]}" 3>&1 1>&2 2>&3) || true IFS=' ' read -r -a SEL_PKGS <<< "${SEL_RAW//\"/}" -ensure_pkgs bat ncdu neofetch cifs-utils "${SEL_PKGS[@]}" +ensure_pkgs bat ncdu fastfetch cifs-utils "${SEL_PKGS[@]}" # Aliases echo "alias cat='batcat --paging=never'" >/etc/profile.d/10-bat_alias.sh echo "alias du='ncdu'" >/etc/profile.d/10-ncdu_alias.sh chmod +x /etc/profile.d/10-*alias.sh -echo 'neofetch' >/etc/profile.d/90-neofetch.sh -chmod +x /etc/profile.d/90-neofetch.sh +# Ensure only fastfetch runs on login +rm -f /etc/profile.d/90-neofetch.sh +echo 'fastfetch' >/etc/profile.d/90-fastfetch.sh +chmod +x /etc/profile.d/90-fastfetch.sh ############################################################################### # NFS mounts # @@ -186,4 +188,4 @@ fi # Summary # ############################################################################### msg "\ -Setup complete!\n\n• Hostname: $NEW_HOST\n• Sudoers: ${SEL_SUDO//\"/ }\n• Packages: bat ncdu neofetch ${SEL_PKGS[*]}\n• CIFS: ${SEL_HOSTS//\"/ }\n\nLog saved to $LOGFILE\n\nEnjoy your new Debian VM!" +Setup complete!\n\n• Hostname: $NEW_HOST\n• Sudoers: ${SEL_SUDO//\"/ }\n• Packages: bat ncdu fastfetch ${SEL_PKGS[*]}\n• CIFS: ${SEL_HOSTS//\"/ }\n\nLog saved to $LOGFILE\n\nEnjoy your new Debian VM!"