Preview hex colors in the clipboard picker - #9892
Open
nibra180 wants to merge 1 commit into
Open
Conversation
Copied #RRGGBB / RRGGBB values get a swatch in the list and a large preview, using Hyprland's decoration rounding, without changing the history file format.
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.
Summary
#RRGGBBorRRGGBB), plus a large preview on the right.clipboard-history.jsonstays text/image and older shells keep working.Style.cornerRadius(Hyprlanddecoration:rounding);0stays square.Implements the stock-picker half of #8273. Named colors, 3-digit hex,
rgb()/hsl(), and hex embedded in other text are out of scope.Test plan
bash test/shell.d/clipboard-test.sh#a954f4and3bd671, open the clipboard picker, confirm list chip + large previewdecoration:rounding0, swatches are square; with a non-zero theme rounding they match window corners