1File::IconTheme(3) User Contributed Perl Documentation File::IconTheme(3)
2
3
4
6 File::IconTheme - find icon directories
7
9 This document describes File::IconTheme.
10
12 use File::IconTheme qw(xdg_icon_theme_search_dirs);
13 print join "\n", xdg_icon_theme_search_dirs;
14
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
26 "xdg_icon_theme_search_dirs"
27 Returns a list of the base directories of icon themes.
28
30 None by default, but the method can be exported on demand.
31
33 $XDG_DATA_HOME, $XDG_DATA_DIRS
34
36 <http://standards.freedesktop.org/icon-theme-spec/>
37
38
39
40perl v5.28.0 2018-07-14 File::IconTheme(3)