feat: font config and font download

This commit is contained in:
Daniel Bauer
2026-01-14 11:03:16 +01:00
parent b84ba672c7
commit 4db2490d36
2 changed files with 17 additions and 4 deletions

View File

@@ -21,6 +21,7 @@
<alias> <alias>
<family>serif</family> <family>serif</family>
<prefer> <prefer>
<family>Charis SIL</family>
<family>Noto Serif for Powerline</family> <family>Noto Serif for Powerline</family>
<family>Noto Serif</family> <family>Noto Serif</family>
<family>Liberation Serif</family> <family>Liberation Serif</family>
@@ -32,6 +33,8 @@
<alias> <alias>
<family>sans-serif</family> <family>sans-serif</family>
<prefer> <prefer>
<family>Inter</family>
<family>Atkinson Hyperlegible</family>
<family>Noto Sans for Powerline</family> <family>Noto Sans for Powerline</family>
<family>Noto Sans</family> <family>Noto Sans</family>
<family>Liberation Sans</family> <family>Liberation Sans</family>
@@ -45,6 +48,10 @@
<alias> <alias>
<family>monospace</family> <family>monospace</family>
<prefer> <prefer>
<family>UbuntuMono Nerd Font</family>
<family>SauceCodePro Nerd Font</family>
<family>Ubuntu Mono</family>
<family>Source Code Pro</family>
<family>Inconsolata-g for Powerline</family> <family>Inconsolata-g for Powerline</family>
<family>Liberation Mono</family> <family>Liberation Mono</family>
<family>DejaVu Sans Mono</family> <family>DejaVu Sans Mono</family>

View File

@@ -18,7 +18,6 @@ NERD_FONTS_VERSION="v3.4.0"
NERD_FONTS=( NERD_FONTS=(
"UbuntuMono" "UbuntuMono"
"SourceCodePro" "SourceCodePro"
"JetBrainsMono"
"AtkinsonHyperlegibleMono" "AtkinsonHyperlegibleMono"
) )
@@ -34,6 +33,13 @@ for font in "${NERD_FONTS[@]}"; do
echo "Installed ${font} Nerd Font" echo "Installed ${font} Nerd Font"
done done
# Install Inter (sans-serif)
echo "Downloading Inter..."
curl -fsSL "https://github.com/rsms/inter/releases/download/v4.1/Inter-4.1.zip" -o "${TEMP_DIR}/Inter.zip"
unzip -q "${TEMP_DIR}/Inter.zip" -d "${TEMP_DIR}/inter"
find "${TEMP_DIR}/inter" -path "*/Inter Desktop/*.ttf" -exec cp {} "${FONT_DIR}/" \;
echo "Installed Inter"
# Install Charis SIL # Install Charis SIL
echo "Downloading Charis SIL..." echo "Downloading Charis SIL..."
CHARIS_VERSION="6.200" CHARIS_VERSION="6.200"