mirror of
https://github.com/Llewellynvdm/exa.git
synced 2024-12-27 18:24:57 +00:00
Add some icons for files
This commit is contained in:
parent
89c861f24d
commit
0d3023657b
@ -52,16 +52,18 @@ fn icon(file: &File) -> char {
|
||||
"android" => '\u{e70e}',
|
||||
"apple" => '\u{f179}',
|
||||
"avro" => '\u{e60b}',
|
||||
"c" => '\u{e61e}',
|
||||
"clj" => '\u{e768}',
|
||||
"coffee" => '\u{f0f4}',
|
||||
"conf" => '\u{e615}',
|
||||
"cpp" => '\u{e61d}',
|
||||
"c" => '\u{e61e}',
|
||||
"h" => '\u{e61e}',
|
||||
"css" => '\u{e749}',
|
||||
"d" => '\u{e7af}',
|
||||
"dart" => '\u{e798}',
|
||||
"db" => '\u{f1c0}',
|
||||
"diff" => '\u{f440}',
|
||||
"patch" => '\u{f440}',
|
||||
"doc" => '\u{f1c2}',
|
||||
"ebook" => '\u{e28b}',
|
||||
"env" => '\u{f462}',
|
||||
@ -111,6 +113,22 @@ fn icon(file: &File) -> char {
|
||||
"xml" => '\u{e619}',
|
||||
"yml" => '\u{f481}',
|
||||
"zip" => '\u{f410}',
|
||||
"deb" => '\u{e77d}',
|
||||
"rpm" => '\u{e7bb}',
|
||||
"exe" => '\u{e70f}',
|
||||
"msi" => '\u{e70f}',
|
||||
"dll" => '\u{e70f}',
|
||||
"sh" => '\u{f292}',
|
||||
"bash" => '\u{f292}',
|
||||
"zsh" => '\u{f292}',
|
||||
"fish" => '\u{f292}',
|
||||
"ini" => '\u{e615}',
|
||||
"toml" => '\u{e615}',
|
||||
"apk" => '\u{e70e}',
|
||||
"ttf" => '\u{f031}',
|
||||
"woff" => '\u{f031}',
|
||||
"woff2" => '\u{f031}',
|
||||
"otf" => '\u{f031}',
|
||||
_ => '\u{f15b}'
|
||||
}
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user