mirror of
https://github.com/Matir/skel.git
synced 2026-05-25 21:19:09 -07:00
Update nerdfonts
This commit is contained in:
@@ -2,24 +2,25 @@
|
||||
|
||||
set -ue
|
||||
|
||||
FONTS=(
|
||||
https://github.com/ryanoasis/nerd-fonts/releases/download/v2.2.2/DejaVuSansMono.zip
|
||||
https://github.com/ryanoasis/nerd-fonts/releases/download/v2.2.2/FiraCode.zip
|
||||
https://github.com/ryanoasis/nerd-fonts/releases/download/v2.2.2/FiraMono.zip
|
||||
https://github.com/ryanoasis/nerd-fonts/releases/download/v2.2.2/Hack.zip
|
||||
https://github.com/ryanoasis/nerd-fonts/releases/download/v2.2.2/Inconsolata.zip
|
||||
https://github.com/ryanoasis/nerd-fonts/releases/download/v2.2.2/OpenDyslexic.zip
|
||||
)
|
||||
VER="v2.2.2"
|
||||
|
||||
echo ${FONTS}
|
||||
FONTS=(
|
||||
https://github.com/ryanoasis/nerd-fonts/releases/download/${VER}/DejaVuSansMono.zip
|
||||
https://github.com/ryanoasis/nerd-fonts/releases/download/${VER}/FiraCode.zip
|
||||
https://github.com/ryanoasis/nerd-fonts/releases/download/${VER}/FiraMono.zip
|
||||
https://github.com/ryanoasis/nerd-fonts/releases/download/${VER}/Hack.zip
|
||||
https://github.com/ryanoasis/nerd-fonts/releases/download/${VER}/Inconsolata.zip
|
||||
https://github.com/ryanoasis/nerd-fonts/releases/download/${VER}/OpenDyslexic.zip
|
||||
)
|
||||
|
||||
FPATH=${HOME}/.fonts/nerdfonts
|
||||
mkdir -p ${FPATH}
|
||||
cd ${FPATH}
|
||||
|
||||
for f in ${FONTS[@]}; do
|
||||
echo ${f}
|
||||
BN=$(basename $f)
|
||||
wget -O ${FPATH}/${BN} ${f}
|
||||
unzip -o -d ${FPATH} ${FPATH}/${BN}
|
||||
done
|
||||
|
||||
fc-cache -v
|
||||
|
||||
Reference in New Issue
Block a user