Just making sure, you are talking about the
lucky.yaml system right?
Hmm. I hadn’t thought of that. How do you usually make you icons? Usually what I do is:
- Open the template icon in Inkscape
- Search the web for the app’s icon
- Drop the app icon on the circle
- Use Inkscape’s bitmap trace feature to convert the app icon to SVG if it wasn’t already
- Maybe change the color of the circle
Everything could probably be completely automated easily if it weren’t for the phase of converting the bitmap image to SVG. Technically you could just embed the bitmap in the SVG file, but that won’t make the best icons at different icon-sizes/file-sizes. We could just restrict it to SVG icons though. Then you would essentially just specify the icon to use and the background color.
As for having a GUI for it, I was entertaining the idea of using terminal-based UI’s for it. I do most of my charm development in a vagrant machine without a GUI, but if it was a terminal UI, I could still access the terminal UI. We could try an in-terminal color picker for the icon creator and otherwise you would just pass it the file for the Logo to put on a circle of the selected color. We could also experiment with what a terminal UI for editing the
lucky.yaml could look like.
And FYI, terminal UI doesn’t mean that you can’t click buttons and such. Examples of some fancy terminal UIs ( which are libraries that we could use in the Lucky CLI, too ):
I know, right?