From a8e5a264f9f8ebb55d1ed4e48dd27656cb07da71 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Fri, 23 Jan 2026 11:16:57 -0600 Subject: refactor(archsetup): improve code architecture and error handling - Split error() into error_warn() and error_fatal() for clarity - Add retry_install() helper to eliminate DRY violation - Make repo URLs configurable via config file - Add section headers for better code organization: - Output & Logging, Installation Helpers, System Detection, System Configuration - Standardize function definition style (no space before parens) - Clean up display() function (remove semicolons, fix spacing) - Remove legacy error() wrapper Co-Authored-By: Claude Opus 4.5 --- archsetup.conf.example | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'archsetup.conf.example') diff --git a/archsetup.conf.example b/archsetup.conf.example index 969079a..4d03fe1 100644 --- a/archsetup.conf.example +++ b/archsetup.conf.example @@ -15,7 +15,7 @@ # Username for the primary user account (default: cjennings) USERNAME=cjennings -# Initial password - should be changed on first login (default: welcome) +# Initial password - CHANGE ON FIRST LOGIN (default: welcome) PASSWORD=welcome ############################# @@ -30,3 +30,15 @@ PASSWORD=welcome # Skip GPU driver auto-detection and installation (default: no) # Set to "yes" if you want to handle GPU drivers manually #NO_GPU_DRIVERS=no + +############################# +# Git Repositories +############################# +# Override these to use your own forks of suckless tools and dotfiles. +# Defaults point to git.cjennings.net - fork these for your own setup. + +#DWM_REPO=https://github.com/yourusername/dwm.git +#DMENU_REPO=https://github.com/yourusername/dmenu.git +#ST_REPO=https://github.com/yourusername/st.git +#SLOCK_REPO=https://github.com/yourusername/slock.git +#DOTEMACS_REPO=https://github.com/yourusername/dotemacs.git -- cgit v1.2.3