.\" -*- mode: troff; coding: utf-8 -*-
.\" Automatically generated by Pod::Man 5.0102 (Pod::Simple 3.45)
.\"
.\" Standard preamble:
.\" ========================================================================
.de Sp \" Vertical space (when we can't use .PP)
.if t .sp .5v
.if n .sp
..
.de Vb \" Begin verbatim text
.ft CW
.nf
.ne \\$1
..
.de Ve \" End verbatim text
.ft R
.fi
..
.\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>.
.ie n \{\
. ds C` ""
. ds C' ""
'br\}
.el\{\
. ds C`
. ds C'
'br\}
.\"
.\" Escape single quotes in literal strings from groff's Unicode transform.
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.\"
.\" If the F register is >0, we'll generate index entries on stderr for
.\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
.\" entries marked with X<> in POD. Of course, you'll have to process the
.\" output yourself in some meaningful fashion.
.\"
.\" Avoid warning from groff about undefined register 'F'.
.de IX
..
.nr rF 0
.if \n(.g .if rF .nr rF 1
.if (\n(rF:(\n(.g==0)) \{\
. if \nF \{\
. de IX
. tm Index:\\$1\t\\n%\t"\\$2"
..
. if !\nF==2 \{\
. nr % 0
. nr F 2
. \}
. \}
.\}
.rr rF
.\" ========================================================================
.\"
.IX Title "File::IconTheme 3"
.TH File::IconTheme 3 2024-09-01 "perl v5.40.0" "User Contributed Perl Documentation"
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
.nh
.SH NAME
File::IconTheme \- Find icon directories
.SH VERSION
.IX Header "VERSION"
version 0.09
.SH SYNOPSIS
.IX Header "SYNOPSIS"
.Vb 2
\& use File::IconTheme qw(xdg_icon_theme_search_dirs);
\& print join "\en", xdg_icon_theme_search_dirs;
.Ve
.SH DESCRIPTION
.IX Header "DESCRIPTION"
This module can be used to find directories as specified
by the Freedesktop.org Icon Theme Specification. Currently only a tiny
(but most useful) part of the specification is implemented.
.PP
In case you want to \fBstore\fR an icon theme, use the directory returned by:
.PP
.Vb 2
\& use File::BaseDir qw(data_dirs);
\& print scalar data_dirs(\*(Aqicons\*(Aq);
.Ve
.SH FUNCTIONS
.IX Header "FUNCTIONS"
Can be exported on request.
.SS xdg_icon_theme_search_dirs
.IX Subsection "xdg_icon_theme_search_dirs"
.Vb 1
\& my @dirs = xdg_icon_theme_search_dir;
.Ve
.PP
Returns a list of the base directories of icon themes.
.SH "CONFIGURATION AND ENVIRONMENT"
.IX Header "CONFIGURATION AND ENVIRONMENT"
\&\f(CW$XDG_DATA_HOME\fR, \f(CW$XDG_DATA_DIRS\fR
.SH "SEE ALSO"
.IX Header "SEE ALSO"
.SH AUTHORS
.IX Header "AUTHORS"
.IP \(bu 4
Jaap Karssenberg || Pardus [Larus]
.IP \(bu 4
Graham Ollis
.SH "COPYRIGHT AND LICENSE"
.IX Header "COPYRIGHT AND LICENSE"
This software is copyright (c) 2003\-2021 by Jaap Karssenberg || Pardus [Larus] .
.PP
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.