Custom icon matching ideas
luisbocanegra opened this issue · 3 comments
luisbocanegra commented
I would like to have icons for all the packages :) but find the icon matching very limited :(
Could it be possible/feasible to match package custom icons with rules in the following order?
- Per repository (core, extra, aur...)
- Per package group (plasma, gnome, kf6...)
- Per pattern e.g. python-.* (python modules, haskell, *.-git...)
exequtic commented
Good idea! I'll take note of that.
exequtic commented
How about this? In this order:
- First set icons for repositories
- Set icons for groups
- Set icons based on name matching
- Set individual icon with exact name match (For packages not covered by previous rules or to overwrite the previous rules)
Each overrides the previous icon. For example, 'krunner5' in the AUR repository and in the plasma group - will use the second icon. The same goes for octopi.
curl -fsSL https://raw.githubusercontent.com/exequtic/apdatifier/main/package/contents/tools/tools.sh | sh -s install
luisbocanegra commented
Thank you, it works as expected. Very well done!