Skip to content

Bundle a thumbnail for the screen saver list - #7

Merged
winebarrel merged 1 commit into
mainfrom
add-thumbnail
Aug 10, 2026
Merged

winebarrel merged 1 commit into
mainfrom
add-thumbnail

Conversation

@winebarrel

Copy link
Copy Markdown
Owner

The screen saver list drew a generic spiral for NecoSaver, which says nothing
about what it is. It now ships a picture of the cat.

Resources/thumbnail.png (90x58) and Resources/thumbnail@2x.png (180x116),
copied into the bundle — the same convention Apple's own Random.saver uses, and
the same one Macstify already had.

The picture

Rendered by the preview app rather than drawn by hand, so it is the real thing:
one cat on the plain grey backdrop, scratch marks off, and fast enough that the
twelve seconds of paw prints it keeps cover some ground.

make thumbnail regenerates both sizes from one 2x render. Where the cat ends up
is down to where it wandered, so that target is worth running until you get one
you like — this one is centred.

Verified

Built and installed; Contents/Resources/thumbnail.png and @2x are in the
bundle, and the list draws the cat.

One thing worth knowing if it ever looks like this change did nothing: the picker
caches these. A saver installed before it had a thumbnail leaves a placeholder
tile behind in

/var/folders/…/C/com.apple.wallpaper.extension.legacy/com.apple.wallpaper.legacy.thumbnails/

which survives a reboot, because it is keyed by content hash rather than
refreshed from the bundle. Deleting the stale entry and restarting
WallpaperAgent picks the new one up. Not a problem for a fresh install.

Without one the list draws a generic spiral, which says nothing about what the
saver is. A picture of the cat, mid-wander with prints behind it, says the whole
thing at 90x58.

Rendered by the preview app rather than drawn by hand, so it is the real thing:
one cat on the plain grey backdrop, scratch marks off, and fast enough that the
twelve seconds of paw prints it keeps cover some ground. `make thumbnail`
regenerates both sizes from one 2x render. Where the cat ends up is down to where
it wandered, so that target is worth running until you get one you like — this
one is centred.
@winebarrel
winebarrel enabled auto-merge August 10, 2026 05:47
@winebarrel
winebarrel merged commit dc75162 into main Aug 10, 2026
3 checks passed
@winebarrel
winebarrel deleted the add-thumbnail branch August 10, 2026 05:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant