Update fonts

This commit is contained in:
Salim Zaidi 2023-06-24 20:10:59 +01:00
parent cc82ea9ef2
commit 7991149bd9
3 changed files with 17 additions and 15 deletions

View file

@ -8,25 +8,27 @@ if [[ ! -d "$fonts_dir" ]]; then
mkdir -p "$fonts_dir" mkdir -p "$fonts_dir"
fi fi
cd /tmp # cd /tmp
fonts=( # fonts=(
"FiraCode" # "FiraCode"
"JetBrainsMono" # "JetBrainsMono"
) # )
#
for font in ${fonts[@]} # for font in ${fonts[@]}
do # do
wget https://github.com/ryanoasis/nerd-fonts/releases/download/v2.1.0/$font.zip # wget https://github.com/ryanoasis/nerd-fonts/releases/download/v2.1.0/$font.zip
unzip $font.zip -d $HOME/.local/share/fonts/$font/ # unzip $font.zip -d $HOME/.local/share/fonts/$font/
rm $font.zip # rm $font.zip
done # done
cd cd
cd debian-z/ cd debian-z/fonts
tar xzvf Hack-NerdFont.tar.gz tar xzvf Hack-NerdFont.tar.gz
unzip JetBrainsMono.zip
mv *ttf ~/.local/share/fonts
cd Hack-NerdFont/ cd Hack-NerdFont/
mv *ttf ~/.local/share/fonts mv *ttf ~/.local/share/fonts
cd .. cd ..
rm -r Hack-NerdFont/ rm -rf
fc-cache -fv fc-cache -fv

BIN
fonts/JetBrainsMono.zip Normal file

Binary file not shown.