Repository navigation
Report the default terminal's font size, not the first config found - #14687
omarchybot wants to merge 1 commit into
Conversation
Every terminal's config ships on install, so the getter's Ghostty-first file check named Ghostty's size on machines where Ghostty is not installed. Read the size from the terminal omarchy-default-terminal resolves instead. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
|
Classification is unsettled, so this has not been verified yet. Claude Opus 5.5 reads it as a bug fix for #8736 ( What was read: the diff at ae221a9, Waiting on the classification being settled, by the second opinion or the maintainer. Once it is, it gets the worker reproduction and suite run a bug fix needs. |
omarchy display text sizewith no arguments reported the terminal font size from the first config file it found, checking Ghostty first. Omarchy ships configs for Alacritty, Foot, Ghostty and Kitty on every install, so~/.config/ghostty/configexists whether or not Ghostty does, and the report named Ghostty's size on almost every machine. The setter writes all four configs, so the number was only wrong once one of them was edited by hand, which is how a Foot user sees 9 pt for a terminal set to 9.5.term_current_ptnow reads the size from the terminalomarchy-default-terminalresolves throughxdg-terminal-exec, which is the one that opens. A default outside the four reportsn/a, as the command already does when it finds nothing. Kitty keeps its fallback to the 9 pt default when it has nofont_sizeoverride.test/shell.d/display-text-size-terminal-test.shgives each stock config a different size and checks that the report follows the default terminal.kitty-config-test.shstubsxdg-terminal-execto make Kitty the default, since its size assertions otherwise depend on the default terminal of whichever machine runs them.#6550 reworks this file and reads the Terminals row through the same getter, so it picks this up without changes of its own.
Fixes #8736