Repository navigation
Conversation
|
Verified: No actionable defect was found in the font-selection logic at
The added test passed all 17 assertions. It evaluates the actual Review informationTest scope: Source inspection and the Node test with two diagnostic controls. Actual Qt font enumeration, live font switching, rendered glyph widths, clipping and fractional scaling were not independently tested. Community review: Independent automated community review, unaffiliated with the Omarchy team, intended to help prepare PRs for their review. Automated AI review: Astra Medium initial inspection, independent Opus 5.5 High and GPT 6 Sol Xhigh technical assessments, then Astra Medium synthesis against source and targeted test evidence. A fresh Astra Medium check assessed presentation and disclosures only. |
|
Small heads-up: this no longer applies after #14553 (Qt 6.12 palette fix, merged today), which changed the import block at the top of This also looks like it addresses #12661 (tiny bar icons with Iosevka Nerd Font Mono). It may be worth adding |
df8f1d6 to
2237f16
Compare
|
Prefer the installed Propo variant of the selected Nerd Font in the bar. Keep the current font when no matching variant is installed. Terminal fonts and the rest of the shell are unchanged.
Nerd Font Mono fits icons into a single character cell, which can make wide symbols look small. Propo lets them use their natural width—a better fit for a graphical bar than a terminal grid.
Comparison
CaskaydiaMono Mono above, Propo below, both at 18px. The speaker, Wi-Fi, and battery icons are fuller with Propo. Text stays monospaced, but the row takes more space.
This is an offscreen Qt sample, not the full bar. The difference from regular Nerd Font variants may be smaller.
Implementation
Uses the existing
Style.font.resolvedFamilyand checks Qt's installed families. No new settings, processes, or watchers. Widgets usingbar.fontFamilyinherit the change; dedicated icon fonts are untouched.Testing
Compared before and after in the Quattro VM: top bar at 1280×800 and 800×600, plus left, right, and bottom bars at 800×600. Audio, network, and calendar popouts showed no new clipping or overlap.
All five bar test suites passed, including icon geometry and widget contracts on the compositor. Propo rendered correctly, fonts without a Propo variant fell back correctly, and terminal fonts were unchanged. No new shell warnings or Hyprland config errors.
VM comparison: before on the left, Propo on the right.
Use
omarchy font setwhen switching fonts. Editing fontconfig directly can leave Qt using a cached font until restart.Not tested: multiple monitors, fractional scaling, or other Propo families.
Rebase verification
Rebased onto current
quattroafter #14553, preservingimport qs.Commons as Commonsand theCommons.Colorpalette references. The font-selection test passed all 17 assertions; the bar and bar-text-color suites also passed. This rerun was headless, so the compositor-dependent icon-geometry and widget-contract suites were skipped; the VM checks above were performed before the rebase.Refs #12661. This targets the same Mono icon-sizing behavior, but Iosevka Propo at the reporter's 1.6 scaling has not been verified.
--[ Pi :: gpt-6.1-sol ]----- on behalf of:@OldJobobo