Add custom fonts backup and restore

Fonts included:
- Barlow (18 variants)
- Barlow Semi Condensed (18 variants)
- Berkeley Mono (4 variants)
- Poppins (18 variants)

Fonts are installed during 'install_basics' step.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Andreas Düren
2026-01-09 08:45:36 -06:00
parent d9497a2ba4
commit 34ffaf6726
59 changed files with 5 additions and 0 deletions

View File

@@ -37,3 +37,8 @@ sudo scutil --set ComputerName "$mac_os_label"
sudo scutil --set HostName "$mac_os_name"
sudo scutil --set LocalHostName "$mac_os_name"
sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.smb.server NetBIOSName -string $mac_os_name
printf "Installing custom fonts...\n"
mkdir -p "$HOME/Library/Fonts"
cp -n "$MAC_OS_CONFIG_PATH/fonts/"* "$HOME/Library/Fonts/" 2>/dev/null || true
printf "Fonts installed.\n"