Repository navigation
Pick an icon set from previews, in the theme switcher's picker - #18976
Merged
Merged
Conversation
Appearance > Icons listed the sets by name. It now opens the picker the theme switcher uses, over one large preview per set, and applies the set that was picked. A set shows by its preview.png. Papercraft and Arcade ship theirs, a sheet of every icon drawn in Tokyo Night, and Original's shows the apps' own icons. A user's preview goes ahead of the built-in set of its name, and a set that came without one gets a sheet drawn from its icons in the current theme, kept until the set or the theme changes. omarchy-icons-preview draws those sheets, for the picker and for the previews in this repo. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Contributor
[Medium impact] The PR appears safe to merge; no new actionable issues were found. SummaryReplaces the icon-set list with the shared image picker.
The three previous threads were unnumbered. The linked-icon and command-guard changes address their reported cases; the cache change now tracks the inputs requested by the earlier comment. Reviews (4) · Last reviewed commit: "Make the icon preview tests fail on what..." · Reviewed by Greptile |
The previews were 1536 by 950 with a 255 color palette, so in the picker they were soft, banded and speckled, and the picker's crop cut into the outer columns. They are now 2560 by 1440 in full color, as a theme's preview is, with larger icons kept to the middle of the frame. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…rs change The preview left out every symlinked icon, though a set the user wrote may link to its icons and is drawn with them, so such a set had no preview and dropped out of the picker. The preview now reads a set as the drawing does: symlinks are left out only of a set cloned from git. A drawn preview was kept by the theme's name and the set directory's time, so an icon edited in place or a theme whose colors changed under the same name kept the old one. It is now kept by the theme's colors and each icon's name, size and time. magick comes with the default packages, so it is no longer checked for. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The linked-set test linked a template, which the old preview already read, and the edited-icon test moved the set directory's time itself, which the old cache key already noticed. They now link a finished drawing and edit an icon in place, and each fails without its fix. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Appearance > Icons listed the icon sets by name. It now opens the same picker the theme switcher uses, over one large preview per set, and applies the set that was picked.
preview.png. Papercraft and Arcade ship one, a sheet of every icon drawn in Tokyo Night, and Original's shows the apps' own icons.preview.png, which goes ahead of the built-in set of the same name. A set that came without one gets a sheet drawn from its icons in the current theme, cached until the set or the theme changes.omarchy-icons-switcheropens the picker and prints the set that was picked;omarchy-icons-previewdraws the sheets, for the picker and for the previews in this repo.Menu.qmlis back to what it was before icon sets.🤖 Generated with Claude Code