Color-manager
Color-manager copied to clipboard
Generated theme contains lots of broken symlinks
Hello!! First of all, thanks for the amazing project!!
I tried to use it on my machine (running openSUSE Leap 15.6) to apply a custom color to Papirus icon theme, using the GUI. All the dependencies (colormath, pillow, etc) were installed.
But the generated themes (I tried 4 times) generally have 16x16, 24x24 icons OK...but the others are displayed as a broken symlink file.
I then decided to test it on a Debian 12 container, but...same result =[
I'm currently learning C#, but I don't know Python, nor I have the needed knowledge to try a code-level bug fix.
Thanks for reading!! (Below its the screenshot of the generated theme)
I'll check it out. Just finished uni, so I've got a bit more time for passion-projects now :) The GUI may not be working, but can you try running the python example code from the readme and report back?
I'll check it out. Just finished uni, so I've got a bit more time for passion-projects now :) The GUI may not be working, but can you try running the python example code from the readme and report back?
Man, I'm so sorry!! I got busy with some things and completely forgot to answer you!! Sorry =[ I tested the script on Debian (bare-metal) and Ubuntu (container). Debian has an issue with the numpy version. Ubuntu has no issue with the numpy version, but the generated theme (using gruvbox_dark palette) also contains a lot of broken symlinks. Basically, the same situation that led me to open the issue =[
Curious fact: the icons on the subfolders of the 'symbolic' folder were all correctly customized/converted.
Basing this off my experience using this tool with papirus, light/dark variants use symlinks to the normal icon folder for icons that don't have light/dark versions, that way they don't need to keep track of different versions of the same file.
The only way I can see to fix this, would be to convert both the regular icons and light/dark icons separately, then have some script to recursively update icons to point to the new icon folder, OR, simply use the folder names of the original icons.