diff --git a/3-fonts.sh b/3-fonts.sh index f643938..cf61247 100755 --- a/3-fonts.sh +++ b/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 \ No newline at end of file +fc-cache -fv diff --git a/Hack-NerdFont.tar.gz b/fonts/Hack-NerdFont.tar.gz similarity index 100% rename from Hack-NerdFont.tar.gz rename to fonts/Hack-NerdFont.tar.gz diff --git a/fonts/JetBrainsMono.zip b/fonts/JetBrainsMono.zip new file mode 100644 index 0000000..0694f07 Binary files /dev/null and b/fonts/JetBrainsMono.zip differ