Repository navigation
Report the selected terminal font size - #8880
yashranaway wants to merge 9 commits into
Conversation
There was a problem hiding this comment.
Pull request overview
Updates terminal font-size reporting to read the configuration selected by xdg-terminal-exec.
Changes:
- Dispatches font-size lookup through
omarchy-default-terminal. - Adds isolated coverage for all four supported terminals.
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 1 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
bin/omarchy-display-text-size |
Reads the selected terminal’s font size. |
test/shell.d/display-text-size-test.sh |
Verifies selection-specific reporting. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
…-active-terminal # Conflicts: # bin/omarchy-display-text-size
The size report now reads only the terminal xdg-terminal-exec selects, so the test's Kitty assertions depended on the worker's default terminal and reported n/a on a machine defaulting to foot. Stub the selection, as display-text-size-test does. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Reviewed by Claude Opus 5.5 and verified on a disposable Omarchy worker. The fix works, and I pushed one commit to fix a test it broke. Reproduction. On the worker, foot is the selected terminal ( Pushed: 749c802 "Select Kitty in the Kitty font size test". Suite. Second opinion. None ran. The reviewer (Codex Medium) answers, but omabot's daily review budget was used up before this item came up, so this rests on one model's review plus the worker runs. Related. #6550 also adds Waiting on a second-opinion review on the next pass, and then on the maintainer. |
|
|
Checked the selected-terminal behavior and added a styling stub for the current Kitty migration. Both regressions pass; the native Kitty parser check is skipped because Kitty is not installed here. |
|
Re-checked at 691607d after the new commits, reviewed by Claude Opus 5.5 with a second opinion from Codex Medium, and run on a disposable Omarchy worker. Still fixes #8736, and nothing new was found. Reproduction. With foot selected through Tests. Second opinion. Codex Medium reviewed the diff for proportionality, the getter's edge cases (no selection, a selected terminal with no config, Kitty inheriting its default), agreement with Waiting on the maintainer. The one thing holding back the |
quattro landed the same gum stub in the Kitty config test; keep its copy. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
This had stopped merging cleanly: Re-checked at 325f8cd on a fresh Omarchy worker. With Foot selected through the real Codex Medium reviewed the merge and the change separately and found nothing, though its independence from this review is not guaranteed. This is now waiting on the maintainer. |
Reports the font size of the terminal selected by
xdg-terminal-exec. Fixes #8736.<<<< AI wording below >>>>
Problem
The text-size command reads the first supported terminal config it finds. An inactive terminal's config can therefore override the value reported for the terminal the user actually launches.
Fix
Read and update the selected terminal's font size instead of an unselected terminal's configuration. Cover Kitty selection and isolate migration styling from host dependencies.
Verification
bash test/shell.d/display-text-size-test.shpasses. Changed Bash files pass syntax checks andgit diff --checkpasses. Kitty migration/config regressions pass; its native parser check is skipped because Kitty is not installed.