Closed cafehaine closed 3 years ago
The current code is hardcoded into doing the following:
However, the libmagic used is the one packaged in the libmagic arch linux package, so it might not be available everywhere.
We should allow registering multiple icon sources with a specified priority (and also guard the import for libmagic in a try catch).
The current code is hardcoded into doing the following:
However, the libmagic used is the one packaged in the libmagic arch linux package, so it might not be available everywhere.
We should allow registering multiple icon sources with a specified priority (and also guard the import for libmagic in a try catch).