#!/usr/bin/env bash set -euo pipefail command -v woff2_decompress tmp="$(mktemp -d)" pushd "${tmp}" for style in Light Regular Medium Bold; do f="Inter-${style}.woff2" wget "https://www.atea.dk/fonts/${f}" woff2_decompress "${f}" done mv ./*.ttf ~/.local/share/fonts fc-cache -f -v popd rm "${tmp}"