From 987939acd1480809ce194935658b1303ddb8bbd0 Mon Sep 17 00:00:00 2001 From: Kostas Stamatakis Date: Wed, 20 Mar 2024 23:59:00 +0200 Subject: [PATCH] updates --- config/gnome/lib/display-colors | 2 ++ scripts/install-fonts-locally | 19 +++++++++++++++++++ 2 files changed, 21 insertions(+) diff --git a/config/gnome/lib/display-colors b/config/gnome/lib/display-colors index e78732d..c892d75 100755 --- a/config/gnome/lib/display-colors +++ b/config/gnome/lib/display-colors @@ -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}" diff --git a/scripts/install-fonts-locally b/scripts/install-fonts-locally index 40f4e7c..b17e2f7 100755 --- a/scripts/install-fonts-locally +++ b/scripts/install-fonts-locally @@ -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}"/ } @@ -458,6 +476,7 @@ __FNT_ALL=( \ nerdnoto \ nerdsourcecodepro \ nerddroid \ + nerdibm \ hubotsans \ monasans \ intelonemono \