Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
moukoublen committed Mar 20, 2024
1 parent cbf191c commit 987939a
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/gnome/lib/display-colors
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,5 @@ echo "Purple 05: ${C_05}"
echo "Light Purple 13: ${C_13}"
echo "Turquoise 06: ${C_06}"
echo "Light Turquoise 14: ${C_14}"

echo "Gnome terminal profile palette: ${C_PAL}"
19 changes: 19 additions & 0 deletions scripts/install-fonts-locally
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,24 @@ __fnt_nerdnoto() {
__install_font_locally "${URL}" "Noto.tar.xz" "nerd-noto" __decomp_tar_xz __install_nerdnoto "${REMOTE_VERSION}"
}

#IBMPlexMono.tar.xz
__install_nerdibm() {
cp "${1}"/*.ttf "${2}"/
}
__fnt_nerdibm() {
__installing "Nerd IBM Plex Mono"
local BODY
local REMOTE_VERSION
local URL

BODY="$( curl --fail --silent --show-error --location https://api.github.com/repos/ryanoasis/nerd-fonts/releases/latest )"
REMOTE_VERSION="$( echo $BODY | jq '.tag_name' --raw-output | sed 's/^v//g' )"
URL="$( echo $BODY | \
jq '.assets[] | select(.name | test("IBMPlexMono.tar.xz")) | .browser_download_url' --raw-output \
)"
__install_font_locally "${URL}" "IBMPlexMono.tar.xz" "nerd-ibmplexmono" __decomp_tar_xz __install_nerdibm "${REMOTE_VERSION}"
}

__install_nerdsourcecodepro() {
cp "${1}"/*.ttf "${2}"/
}
Expand Down Expand Up @@ -458,6 +476,7 @@ __FNT_ALL=( \
nerdnoto \
nerdsourcecodepro \
nerddroid \
nerdibm \
hubotsans \
monasans \
intelonemono \
Expand Down

0 comments on commit 987939a

Please sign in to comment.