Support icon color (#1674)
* Support icon color * Rename variables * Test for readArrays * Add doc and examples for icon color
This commit is contained in:
1 parent
ce12116418
commit
6cabb0e8e4
8 files changed
+490
-43
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user