Updated font config

This commit is contained in:
2026-07-06 12:01:31 +02:00
parent 147061febd
commit f44bc9d16b
38 changed files with 22 additions and 1 deletions
+1
View File
@@ -1,6 +1,7 @@
# Native explicit packages. Refresh on the running system: pacman -Qqen > pacman.txt # Native explicit packages. Refresh on the running system: pacman -Qqen > pacman.txt
7zip 7zip
accountsservice accountsservice
adwaita-fonts
adwaita-icon-theme adwaita-icon-theme
adw-gtk-theme adw-gtk-theme
alsa-firmware alsa-firmware
+21
View File
@@ -0,0 +1,21 @@
# Install bundled fonts that have no reliable AUR package (Apple SF Pro,
# MS Windows 11 — proprietary, so the AUR PKGBUILDs keep breaking). Drop the
# font files into 03-user/fonts/ (any subdir layout); they land in
# ~/.local/share/fonts/ and the font cache is rebuilt.
SRC="$REPO_ROOT/03-user/fonts"
DEST="$HOME/.local/share/fonts"
find_fonts() { find "$SRC" -type f \( -iname '*.otf' -o -iname '*.ttf' -o -iname '*.ttc' \) "$@"; }
if [ -z "$(find_fonts -print -quit 2>/dev/null)" ]; then
echo " no font files in 03-user/fonts — skipping"
return 0 2>/dev/null || exit 0
fi
count=0
while IFS= read -r -d '' font; do
rel="${font#"$SRC"/}" # preserve subdir layout under DEST
install -Dm644 "$font" "$DEST/$rel" && count=$((count + 1))
done < <(find_fonts -print0)
fc-cache -f "$DEST" >/dev/null
info "installed $count font file(s) → $DEST"
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
-1
View File
@@ -34,7 +34,6 @@ scope-tui
sdrangel-bin sdrangel-bin
spotify spotify
streamrip streamrip
ttf-ms-win11
uxplay uxplay
vcvrack vcvrack
vkd3d-proton-bin vkd3d-proton-bin