From bf255df1fff477785bcf84b248ececfa16b6488a Mon Sep 17 00:00:00 2001 From: andreas Date: Fri, 9 Jan 2026 13:34:11 -0600 Subject: [PATCH] Add automatic Berkeley Mono font installation - Install.sh now downloads Berkeley Mono from static.due.ren - Downloads all 4 variants: Regular, Bold, Oblique, Bold-Oblique - Updated documentation to reflect automatic installation - Removed manual installation notes from QUICK_INSTALL.md - Berkeley Mono now included in default font installation list Co-Authored-By: Claude Sonnet 4.5 --- QUICK_INSTALL.md | 5 ++--- README.adoc | 2 +- install.sh | 14 +++++++++++--- 3 files changed, 14 insertions(+), 7 deletions(-) diff --git a/QUICK_INSTALL.md b/QUICK_INSTALL.md index d9b9fa3..604b32b 100644 --- a/QUICK_INSTALL.md +++ b/QUICK_INSTALL.md @@ -14,12 +14,11 @@ That's it! The script will: 3. Install all CLI tools (atuin, bash, bash-completion, claude-cli, gemini-cli, node, ffmpeg, mas, mole, rename, ykman) 4. Install all GUI apps (Chromium, DeepL, Element, Signal, Nextcloud, Proton apps, Codex, CodexBar, Nova, Transmit, Trimmy) 5. Install Mac App Store apps (Bitwarden, Invoice Ninja, Numbers, Pages, PastePal, xSearch) -6. Download and install Google Fonts (Barlow, Barlow Semi Condensed, Poppins) +6. Download and install fonts (Barlow, Barlow Semi Condensed, Poppins, Berkeley Mono) ## Notes - **Mac App Store apps**: You must be signed into the App Store before running -- **Berkeley Mono font**: This is a commercial font ($75) and must be purchased and installed manually from https://berkeleygraphics.com/typefaces/berkeley-mono/ - **Idempotent**: Safe to run multiple times - won't reinstall existing software ## Manual Installation @@ -82,4 +81,4 @@ To host on static.due.ren: - Barlow (Google Font) - Full family - Barlow Semi Condensed (Google Font) - Full family - Poppins (Google Font) - Full family -- Berkeley Mono (Commercial) - Must install manually +- Berkeley Mono - Full family (Regular, Bold, Oblique, Bold-Oblique) diff --git a/README.adoc b/README.adoc index 7e2f49f..8c5561f 100644 --- a/README.adoc +++ b/README.adoc @@ -108,7 +108,7 @@ Visit https://install.due.ren to build a custom installer with your preferred so * Barlow - Google Font (full family) * Barlow Semi Condensed - Google Font (full family) * Poppins - Google Font (full family) -* Berkeley Mono - Commercial font (must purchase separately) +* Berkeley Mono - Full family (Regular, Bold, Oblique, Bold-Oblique) == Customization diff --git a/install.sh b/install.sh index a2cf8b2..d7900d8 100755 --- a/install.sh +++ b/install.sh @@ -252,9 +252,17 @@ else print_info "Poppins already installed" fi -# Note about Berkeley Mono (commercial font) -print_warning "Berkeley Mono is a commercial font and must be installed manually" -print_info "Visit: https://berkeleygraphics.com/typefaces/berkeley-mono/" +# Download and install Berkeley Mono +if [[ ! -f "$FONT_DIR/BerkeleyMono-Regular.otf" ]]; then + print_info "Downloading Berkeley Mono font family..." + curl -fsSL "https://static.due.ren/site/font/BerkeleyMono-Regular.otf" -o "$FONT_DIR/BerkeleyMono-Regular.otf" + curl -fsSL "https://static.due.ren/site/font/BerkeleyMono-Bold.otf" -o "$FONT_DIR/BerkeleyMono-Bold.otf" + curl -fsSL "https://static.due.ren/site/font/BerkeleyMono-Oblique.otf" -o "$FONT_DIR/BerkeleyMono-Oblique.otf" + curl -fsSL "https://static.due.ren/site/font/BerkeleyMono-Bold-Oblique.otf" -o "$FONT_DIR/BerkeleyMono-Bold-Oblique.otf" + print_info "Berkeley Mono installed" +else + print_info "Berkeley Mono already installed" +fi # ============================================================================= # COMPLETION