mirror of
https://github.com/zedsalim/debian-z.git
synced 2025-12-06 03:19:28 +00:00
Update fonts
This commit is contained in:
parent
cc82ea9ef2
commit
7991149bd9
3 changed files with 17 additions and 15 deletions
30
3-fonts.sh
30
3-fonts.sh
|
|
@ -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
BIN
fonts/JetBrainsMono.zip
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue