Use icon libraries quick & easy.
Repository | https://github.com/haje61/FreeDesktop-Icons |
CPAN | https://metacpan.org/pod/FreeDesktop::Icons |
Bug tracker | https://github.com/haje61/FreeDesktop-Icons/issues |
Latest version | 0.04 |
This module gives access to icon libraries on your system. It more ore less conforms to the Free Desktop specifications here: https://specifications.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html
Furthermore it allows you to add your own icon folders through the rawpath method.
We have made provisions to make it work on Windows as well.
The constructor takes a list of folders where it finds the icons libraries. If you specify nothing, it will assign default values for:
Windows: $ENV{ALLUSERSPROFILE} . ‘\Icons’. This package will not create the folder if it does not exist. See also the README.md included in the distribution.
Others: $ENV{HOME} . ‘/.local/share/icons’, and the folder ‘icons’ in $ENV{XDG_DATA_DIRS}.