Fix: Install hyprlock's SF Pro fonts through stow so fontconfig finds them

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-22 08:17:19 +01:00
parent 353d77c4fb
commit 02adb17b4e
6 changed files with 9 additions and 3 deletions

View File

@@ -151,7 +151,7 @@ sudo systemctl enable "${units[@]}"
step "Linking dotfiles with stow"
# Create real parent dirs first, otherwise stow symlinks the whole directory
# (e.g. ~/.config) into the repo and every app's files end up in git
mkdir -p "$HOME/.config" "$HOME/.local/bin" "$HOME/.local/share" "$HOME/Pictures"
mkdir -p "$HOME/.config" "$HOME/.local/bin" "$HOME/.local/share/fonts" "$HOME/Pictures"
# Sunshine keeps credentials and logs beside its config; those must stay out of git
mkdir -p "$HOME/.config/sunshine"
mkdir -p -m 700 "$HOME/.ssh"
@@ -165,4 +165,7 @@ if [[ "$(getent passwd "$USER" | cut -d: -f7)" != */zsh ]]; then
chsh -s /usr/bin/zsh
fi
# Picks up the stowed fonts in ~/.local/share/fonts (SF Pro Display for hyprlock)
fc-cache -f "$HOME/.local/share/fonts" >/dev/null
step "Done — reboot to load drivers and start Hyprland"