|
|
For icon_rules clauses, you specify the scope of the rule explicitly by providing a specification that matches the files or directories in which you are interested.
The format of the icon_rules clause is:
icon_rules { pattern [/class] { clauses applying to specified files } }
The specification consists of two parts:
See also:
Patterns look like filenames or pathnames, but can contain certain special characters or wildcards. There must be at least one space or newline before specifying a class.
The basename of a pattern can include the following wildcard characters:
See also:
If the pattern does not begin with a ``/'', it is a ``relative pattern'', which can match files anywhere in the system. The pattern cannot include ``/''.
Rules following relative patterns in a local rule file apply to files in the directory that match the pattern. Rules following relative patterns in all other rule files apply to all files whose basenames match the pattern.
If the pattern begins with a ``/'', it is an ``absolute pattern'', which only matches files in a specific directory.
Absolute patterns cannot occur in local rule files. Wildcards can only be included after the last ``/'' in an absolute pattern.
Rules following absolute patterns apply to files in the directory
given by the pattern up to the last ``/'', and whose basename
matches the part after the last ``/''.
These rules take precedence over those following relative
patterns in any rule file.
Classes are used to represent the properties of files in a concise form. These properties fall into the following six sets:
FXWM-0
The classes restrict the group of files affected by the subsequent clauses, and so omitting a specifier from one set of options will match all the alternatives.
The following examples show some of the most useful class specifications:
See also: