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