mirror of
https://github.com/Matir/skel.git
synced 2026-05-25 21:19:09 -07:00
Merge branch 'main' of https://github.com/Matir/skel
This commit is contained in:
25
bin/setup/nerdfonts.sh
Executable file
25
bin/setup/nerdfonts.sh
Executable file
@@ -0,0 +1,25 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
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
|
||||||
|
)
|
||||||
|
|
||||||
|
echo ${FONTS}
|
||||||
|
|
||||||
|
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
|
||||||
Reference in New Issue
Block a user