Skip to content

Fix monospace font preference ordering - #9870

Open
derluke wants to merge 1 commit into
omacom:quattrofrom
derluke:fix/fontconfig-user-font
Open

Fix monospace font preference ordering#9870
derluke wants to merge 1 commit into
omacom:quattrofrom
derluke:fix/fontconfig-user-font

Conversation

@derluke

@derluke derluke commented Sep 2, 2026

Copy link
Copy Markdown

Summary

  • keep JetBrainsMono as the packaged monospace default while leaving the generic family in the pattern for a later user override
  • scope both default and selected-font rules to requests where monospace is the first family, preserving explicit application fonts
  • migrate only the exact Fontconfig file generated by the previous omarchy font set implementation

Why

The package rule currently assigns JetBrainsMono before 50-user.conf loads. That removes monospace from the pattern, so the selected-font rule never matches. Appending the packaged default keeps the generic family available for the user rule; qualifying the first family prevents a recurrence of the app-specific font override fixed in #5700.

Testing

  • bash test/shell.d/fontconfig-test.sh
  • ./test/cli

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant