Repository navigation
Add outpainted 32:9 backgrounds for all built-in themes - #17038
acrogenesis wants to merge 58 commits into
Conversation
Fold a digest of sibling files (name and mtime) into the SVG raster cache key so a render is invalidated when a relative sibling asset the SVG may reference changes, not only when the SVG's own mtime moves. Bound both the render and sampled-edge caches by entry count alongside the existing age prune, skipping in-flight temp files, so neither can grow without limit.
Spell out that backgrounds.toml is read by a small awk parser covering a deliberate subset of TOML, and that the SVG render cache keys on sibling mtimes and is bounded by count as well as age.
[Medium impact] The PR appears safe to merge, with a non-blocking bar contrast issue for responsive SVGs on HiDPI screens. Findings
SummaryAdds 32:9 backgrounds and shared per-screen background selection.
The earlier deleted-SVG, blur-sampling, RGBA, and picker-cache findings are fixed in the supplied code.
|
| width: coverReady ? implicitWidth * coverScale : root.width * root.naturalScale | ||
| height: coverReady ? implicitHeight * coverScale : root.height * root.naturalScale | ||
| transform: Scale { | ||
| xScale: 1 / root.naturalScale | ||
| yScale: 1 / root.naturalScale |
There was a problem hiding this comment.
On HiDPI screens, the new rasterScale correctly sizes responsive SVGs with fill = "center" or "tile", but omarchy-bar-text-color still enlarges their already physical-sized PNG by --scale. The bar now samples different pixels from those the shell draws. At scale 2, for example, a white top strip over a black center can appear behind the bar while the sampler crops into black and chooses unreadable white text.
Publish responsive_raster through --fields and have the bar helper skip the extra scale for those images.
Adds 32:9 versions of all 98 built-in still backgrounds across 23 themes, composed for 5120×1440 super ultrawide displays. The original composition stays centered and proportionally scaled, with matching artwork extending to both sides.
Depends on #9312 for automatic aspect-ratio selection. This is an alternative wallpaper asset set to #9313. Changes on top of #9312.
Full gallery — all 98 backgrounds · Composition and source-preservation details · Source hashes and generation prompts
Validation