jbmono misc

This commit is contained in:
Anthony Axenov 2024-07-31 23:27:06 +08:00
parent 3c87f837eb
commit ee8cbd0fe4
Signed by: anthony
GPG Key ID: EA9EC32FF7CCD4EC

View File

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