2023-04-12 09:00:41 +00:00
|
|
|
#!/bin/bash
|
|
|
|
##makedesc: Install JetBrains Mono fonts
|
2023-04-12 11:06:42 +00:00
|
|
|
[ -f `dirname $0`/../helpers ] && source `dirname $0`/../helpers || exit 255
|
2023-04-12 09:00:41 +00:00
|
|
|
|
|
|
|
# https://www.jetbrains.com/lp/mono/#how-to-install
|
|
|
|
|
2023-04-12 11:06:42 +00:00
|
|
|
title
|
|
|
|
require unzip
|
2023-04-12 09:00:41 +00:00
|
|
|
|
|
|
|
mkdir -p "$HOME/install/jbmono" "$HOME/.local/share/fonts/"
|
2023-04-12 11:06:42 +00:00
|
|
|
|
|
|
|
download "https://download.jetbrains.com/fonts/JetBrainsMono-2.304.zip" "$HOME/install/jbmono.zip" && \
|
2023-04-12 09:00:41 +00:00
|
|
|
unzip -oj "$HOME/install/jbmono.zip" "fonts/ttf/*.ttf" -d "$HOME/.local/share/fonts/" && \
|
|
|
|
fc-cache -vf "$HOME/.local/share/fonts/"
|