1File::IconTheme(3) User Contributed Perl Documentation File::IconTheme(3)
2
3
4
6 File::IconTheme - Find icon directories
7
9 version 0.09
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 Can be exported on request.
27
28 xdg_icon_theme_search_dirs
29 my @dirs = xdg_icon_theme_search_dir;
30
31 Returns a list of the base directories of icon themes.
32
34 $XDG_DATA_HOME, $XDG_DATA_DIRS
35
37 <http://standards.freedesktop.org/icon-theme-spec/>
38
40 • Jaap Karssenberg || Pardus [Larus] <pardus@cpan.org>
41
42 • Graham Ollis <plicease@cpan.org>
43
45 This software is copyright (c) 2003-2021 by Jaap Karssenberg || Pardus
46 [Larus] <pardus@cpan.org>.
47
48 This is free software; you can redistribute it and/or modify it under
49 the same terms as the Perl 5 programming language system itself.
50
51
52
53perl v5.34.0 2022-01-21 File::IconTheme(3)