1File::IconTheme(3)    User Contributed Perl Documentation   File::IconTheme(3)
2
3
4

NAME

6       File::IconTheme - find icon directories
7

VERSION

9       This document describes File::IconTheme.
10

SYNOPSIS

12           use File::IconTheme qw(xdg_icon_theme_search_dirs);
13           print join "\n", xdg_icon_theme_search_dirs;
14

DESCRIPTION

16       This module can be used to find directories as specified by the
17       Freedesktop.org Icon Theme Specification. Currently only a tiny (but
18       most useful) part of the specification is implemented.
19
20       In case you want to store an icon theme, use the directory returned by:
21
22           use File::BaseDir qw(data_dirs);
23           print scalar data_dirs('icons');
24

INTERFACE

26       "xdg_icon_theme_search_dirs"
27           Returns a list of the base directories of icon themes.
28

EXPORTS

30       None by default, but the method can be exported on demand.
31

CONFIGURATION AND ENVIRONMENT

33       $XDG_DATA_HOME, $XDG_DATA_DIRS
34

SEE ALSO

36       <http://standards.freedesktop.org/icon-theme-spec/>
37
38
39
40perl v5.28.0                      2018-07-14                File::IconTheme(3)
Impressum