shell/install/jbmono

21 lines
559 B
Plaintext
Raw Permalink Normal View History

2023-04-12 09:00:41 +00:00
#!/bin/bash
##makedesc: Install JetBrains Mono fonts
2024-07-31 15:27:06 +00:00
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
2024-07-31 15:27:06 +00:00
2023-04-12 11:06:42 +00:00
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/"
2023-04-12 14:11:17 +00:00
[ $? = 0 ] && {
echo
success "JetBrains Mono fonts installed!"
echo
}