add fonts

This commit is contained in:
2025-07-09 20:35:40 +02:00
parent 224c5e7dc5
commit 86c5298659
25 changed files with 1649 additions and 8 deletions

15
scripts/download-fonts.sh Executable file
View File

@@ -0,0 +1,15 @@
#!/bin/sh
BASEDIR="$(dirname $0)"
DIR="$BASEDIR"/fonts
echo Nerd Fonts
nftag=$(curl https://api.github.com/repos/ryanoasis/nerd-fonts/releases/latest -s | jq .name -r)
# https://www.nerdfonts.com/font-downloads
curl --output-dir "$DIR" -LO "https://github.com/ryanoasis/nerd-fonts/releases/download/$nftag/NerdFontsSymbolsOnly.tar.xz"
curl --output-dir "$DIR" -LO "https://github.com/ryanoasis/nerd-fonts/releases/download/$nftag/FiraCode.tar.xz"
mkdir -p "$DIR/nerdfonts"
tar --directory "$DIR/nerdfonts" -xvf "$DIR/NerdFontsSymbolsOnly.tar.xz"
tar --directory "$DIR/nerdfonts" -xvf "$DIR/FiraCode.tar.xz"
rm "$DIR"/NerdFontsSymbolsOnly.tar.xz
rm "$DIR"/FiraCode.tar.xz