Coherence: one component per idea, one spelling per word, one truth per claim

Claude-Session: https://claude.ai/code/session_01Ms2FbjQy31TVf3CEvQhGM8
This commit is contained in:
Gabriel Brown
2026-08-25 02:21:45 -04:00
parent 06c53d6c21
commit bd2fd12de2
87 changed files with 660 additions and 766 deletions
+5 -5
View File
@@ -1,7 +1,7 @@
pragma Singleton
// Display configuration: resolution, refresh rate, scale, rotation, position,
// colour management, variable refresh rate, and mirroring.
// color management, variable refresh rate, and mirroring.
//
// This is the only page in Panama Settings where a wrong value can leave you
// unable to SEE the screen well enough to undo it. A mode the display cannot
@@ -85,7 +85,7 @@ Singleton {
{ value: 3, label: "Portrait (flipped)" }
]
// Colour management presets Hyprland accepts as `cm`. "auto" is a policy,
// Color management presets Hyprland accepts as `cm`. "auto" is a policy,
// not a state: the compositor resolves it to a concrete preset and reports
// that one back, so it is never verified against readback.
readonly property var colorProfiles: [
@@ -510,7 +510,7 @@ Singleton {
}
// Everything past `primary` is optional so that arrangements stored before
// the colour and mirror fields existed still load. Present but invalid is
// the color and mirror fields existed still load. Present but invalid is
// not optional: a half-written record is one Panama refuses rather than
// guesses at, exactly as it treats a half-written position.
function isPersistedLayoutEntry(entry: var): bool {
@@ -675,7 +675,7 @@ Singleton {
return root.formatBitdepth(String(monitor.currentFormat ?? ""));
}
// The colour half of the readback comparison. Each field is asserted only
// The color half of the readback comparison. Each field is asserted only
// where the compositor reports something to compare against; vrrMode is
// absent by design, since `vrr` reads back live state rather than policy.
function matchesColor(monitor: var, requested: var): bool {
@@ -732,7 +732,7 @@ Singleton {
// One-field controls remain callers of the complete-layout transaction.
// Their edit is cloned into the current layout so every output's position,
// colour and mirror state participates in apply, verification, and
// color and mirror state participates in apply, verification, and
// rollback. `partial` carries only the fields being changed; anything it
// leaves out keeps the value currentLayout just read from the compositor.
function applyRecord(output: string, partial: var): bool {