-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Icon from hyperlink url #140
Labels
enhancement
New feature or request
Comments
This was referenced Sep 8, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
If would be useful to be able to set an icon from an hyperlink url.
The current only option is to manually download the icon to a local file on the hard disk and then change the Configuration File to manually create an <icon> element to that downloaded file.
With such a feature, it would allow the following new features:
For example, with the help of #135, it would allow creating a generic Configuration File for
curl
. Curl executable could be found from the PATH environment variable. But curl installation files does not contains an icon. The only icon available is from its web site's favicon.Same from FFmpeg's icon available from https://ffmpeg.org/favicon.ico.
Describe the solution you'd like
Create a new attribute named
url
. When set, the attribute defines the url to an icon.For example:
The file should be downloaded to a cache location. The file name should be based on the
url
value to always use the same file name between reboot. This would prevent downloading the same file again and again. When the system encounters an icon url, it should check for the existing local cached version of the icon. If found, it should resolve to using the local file (similar to function Icon::ResolveFileExtensionIcon()). If not, it should start a download. The next time the menu is displayed, the icon should be available from the local cache.Describe alternatives you've considered
N/A
Additional context
N/A
The text was updated successfully, but these errors were encountered: