summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMélanie Chauvel <perso@hack-libre.org>2022-01-05 00:09:31 +0100
committerGitHub <noreply@github.com>2022-01-05 00:09:31 +0100
commita2f3ff98c2c6f507f0b2778fed11b4f70fd693e2 (patch)
treea5a5181b9b11937752949af5803eede84bcd7a19
parent4f919a6bc5a02fa32292375ee7f11befb64d77e1 (diff)
parent091ab51b983a1dfaf9e3ef3e0eddaf46ac26a896 (diff)
Merge pull request #993 from cab-1729/master
Adding icons for .part and .torrent files
-rw-r--r--src/output/icons.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/output/icons.rs b/src/output/icons.rs
index 7b2c4dc..6efc761 100644
--- a/src/output/icons.rs
+++ b/src/output/icons.rs
@@ -258,6 +258,7 @@ pub fn icon_for_file(file: &File<'_>) -> char {
"ogg" => '\u{f001}', // 
"ogv" => '\u{f03d}', // 
"otf" => '\u{f031}', // 
+ "part" => '\u{f43a}', // 
"patch" => '\u{f440}', // 
"pdf" => '\u{f1c1}', // 
"php" => '\u{e73d}', // 
@@ -317,6 +318,7 @@ pub fn icon_for_file(file: &File<'_>) -> char {
"tiff" => '\u{f1c5}', // 
"tlz" => '\u{f410}', // 
"toml" => '\u{e615}', // 
+ "torrent" => '\u{e275}', // 
"ts" => '\u{e628}', // 
"tsv" => '\u{f1c3}', // 
"tsx" => '\u{e7ba}', // 