FreeDesktop-Icons
view release on metacpan or search on metacpan
# FreeDesktop-Icons
This module gives access to icon libraries on your system. It more
or 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'. It will not create
the folder if it does not exist.
lib/FreeDesktop/Icons.pm view on Meta::CPAN
my $iconlib = new FreeDeskTop::Icons;
$iconlib->theme('Oxygen');
$iconlib->size('16');
my $imagefile = $iconlib->get('edit-copy');
=head1 DESCRIPTION
This module gives access to icon libraries on your system. It more
ore less conforms to the Free Desktop specifications here:
L<https://specifications.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html>
Furthermore it allows you to add your own icon folders through the B<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 this distribution.
( run in 0.457 second using v1.01-cache-2.11-cpan-299005ec8e3 )