Closed orschiro closed 5 months ago
By the way, I just noticed that after a while colors are not showing in the main menu anymore.
I cannot yet say when/why this happens.
Fixed in #2704. Showing color icon in tray menu will be available in the next release.
@hluk cannot await to test it, thank you!
@orschiro Feel free to test it with the latest dev builds: https://ci.appveyor.com/project/hluk/copyq/builds/49741262/artifacts
@hluk just tested but it doesn't seem to work.
Can you share the commands you use to show the color?
For the tray menu icon, you can use a simple Display command (these work on existing items too since they do not need to modify underlying item data):
[Command]
Command="
copyq:
setData(mimeColor, input());"
Display=true
Icon=
Input=text/plain
Match=^#[0-9a-zA-Z]{3}
Name=Show Colors
I forgot to add the command.
Now they nicely show up, thank you! :-)
Thanks for the testing!
You're welcome. :)
On Fri, 3 May 2024 at 11:59, Lukas Holecek @.***> wrote:
Thanks for the testing!
— Reply to this email directly, view it on GitHub https://github.com/hluk/CopyQ/issues/2700#issuecomment-2092685437, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABJXQ4OHJB3TE35XEBERS3ZANNYBAVCNFSM6AAAAABGYLVEU2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJSGY4DKNBTG4 . You are receiving this because you were mentioned.Message ID: @.***>
Hi all,
In reference to https://github.com/hluk/CopyQ/issues/1583.
The issue provides several commands to display the color of a hex code in the main menu.
However, I would like to display the color in the tray menu as well.
Can anyone help me with this?
Thank you!