#!/bin/bash # omarchy:summary=Install CJK fonts and the OmarchyCN fontconfig priority # omarchy:examples=omarchycn font apply set -euo pipefail omarchy-pkg-add noto-fonts-cjk noto-fonts-emoji conf_dir="$HOME/.config/fontconfig/conf.d" mkdir -p "$conf_dir" cp "$OMARCHY_PATH/cn/fontconfig/64-omarchycn-cjk.conf" "$conf_dir/" fc-cache -f > /dev/null echo "CJK fonts installed, fontconfig priority applied ($conf_dir/64-omarchycn-cjk.conf)" omarchy-cn-font-status