summaryrefslogtreecommitdiffstats
path: root/doc.txt
diff options
context:
space:
mode:
Diffstat (limited to 'doc.txt')
-rw-r--r--doc.txt13
1 files changed, 10 insertions, 3 deletions
diff --git a/doc.txt b/doc.txt
index 64c41a6..b21d608 100644
--- a/doc.txt
+++ b/doc.txt
@@ -2057,9 +2057,13 @@ special value target, which will use the link target to select a icon.
File name rules will still apply based on the link's name -- this
mirrors GNU's ls and dircolors behavior. The icons file (refer to the
CONFIGURATION section) should consist of whitespace-separated pairs with
-a # character to start comments until the end of the line. Do not forget
-to add set icons true to your lfrc to see the icons. Default values are
-as follows given with their matching order in lf:
+a # character to start comments until the end of the line. Each line
+should contain 1-3 columns, first column is filetype or filename
+pattern, second column is the icon, third column is an optional icon
+color. If there is only one column, means to disable rule for this
+filetype or pattern. Do not forget to add set icons true to your lfrc to
+see the icons. Default values are as follows given with their matching
+order in lf:
ln l
or l
@@ -2078,3 +2082,6 @@ as follows given with their matching order in lf:
A sample icons file can be found at
https://github.com/gokcehan/lf/blob/master/etc/icons.example
+
+A sample colored icons file can be found at
+https://github.com/gokcehan/lf/blob/master/etc/icons_colored.example