#!/bin/sh # Fallback for a renderer that ignores FONTCONFIG_FILE: install the Archilyzer Media # preset's faces for THIS user (no sudo), under the XDG fonts dir, and refresh the # cache. The preset itself never needs this; see fonts.conf. # # sh umtool/report-to-video/fonts/install-user-fonts.sh set -eu here=$(cd "$(dirname "$0")" && pwd) dest="${XDG_DATA_HOME:-$HOME/.local/share}/fonts/archilyzer-media" mkdir -p "$dest" cp "$here"/*.ttf "$here/OFL.txt" "$dest/" if command -v fc-cache >/dev/null 2>&1; then fc-cache -f "$dest" >/dev/null; fi echo "installed into $dest" fc-list 2>/dev/null | grep -E "Archivo|IBM Plex (Sans|Mono)" | sed 's/^/ /' | head -3 || true