mirror of
https://github.com/Matir/skel.git
synced 2026-05-26 05:29:09 -07:00
Update nerdfonts
This commit is contained in:
@@ -2,24 +2,25 @@
|
|||||||
|
|
||||||
set -ue
|
set -ue
|
||||||
|
|
||||||
FONTS=(
|
VER="v2.2.2"
|
||||||
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
|
|
||||||
)
|
|
||||||
|
|
||||||
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
|
FPATH=${HOME}/.fonts/nerdfonts
|
||||||
mkdir -p ${FPATH}
|
mkdir -p ${FPATH}
|
||||||
cd ${FPATH}
|
cd ${FPATH}
|
||||||
|
|
||||||
for f in ${FONTS[@]}; do
|
for f in ${FONTS[@]}; do
|
||||||
echo ${f}
|
|
||||||
BN=$(basename $f)
|
BN=$(basename $f)
|
||||||
wget -O ${FPATH}/${BN} ${f}
|
wget -O ${FPATH}/${BN} ${f}
|
||||||
unzip -o -d ${FPATH} ${FPATH}/${BN}
|
unzip -o -d ${FPATH} ${FPATH}/${BN}
|
||||||
done
|
done
|
||||||
|
|
||||||
|
fc-cache -v
|
||||||
|
|||||||
Reference in New Issue
Block a user