Skip to content

Respect XDG_CONFIG_HOME for font and text sizing - #8179

Open
Aitensa wants to merge 2 commits into
omacom:quattrofrom
Aitensa:contribute/xdg-config-home
Open

Aitensa wants to merge 2 commits into
omacom:quattrofrom
Aitensa:contribute/xdg-config-home

Conversation

@Aitensa

@Aitensa Aitensa commented Aug 25, 2026

Copy link
Copy Markdown

This change makes omarchy-font-set and omarchy-display-text-size honor XDG_CONFIG_HOME for shell, terminal, and fontconfig files.

It adds focused shell regression tests covering custom XDG config directories and reset behavior.

Tests: targeted font-set and display-text-size tests pass.

Copilot AI balanced review requested due to automatic review settings August 25, 2026 07:23

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates font and text-sizing commands to use XDG_CONFIG_HOME, with regression coverage for custom configuration directories and resets.

Changes:

  • Routes terminal, fontconfig, and shell settings through the XDG configuration directory.
  • Adds focused shell regression tests.

Tip

If you aren't ready for review, convert to a draft PR.
Click "Convert to draft" or run gh pr ready --undo.
Click "Ready for review" or run gh pr ready to reengage.

Reviewed changes

Copilot reviewed 2 out of 4 changed files in this pull request and generated no comments.

File Description
bin/omarchy-font-set Uses the XDG directory for terminal and fontconfig files.
bin/omarchy-display-text-size Uses the XDG directory for shell and terminal settings.
test/shell.d/font-set-test.sh Tests font updates with a custom XDG directory.
test/shell.d/display-text-size-test.sh Tests sizing and reset behavior with a custom XDG directory.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

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

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants