diff --git a/src/info/filetype.rs b/src/info/filetype.rs index 3011d5f..4b38aa4 100644 --- a/src/info/filetype.rs +++ b/src/info/filetype.rs @@ -38,7 +38,8 @@ impl FileExtensions { "png", "jfi", "jfif", "jif", "jpe", "jpeg", "jpg", "gif", "bmp", "tiff", "tif", "ppm", "pgm", "pbm", "pnm", "webp", "raw", "arw", "svg", "stl", "eps", "dvi", "ps", "cbr", "jpf", "cbz", "xpm", - "ico", "cr2", "orf", "nef", "heif", "avif", "jxl", + "ico", "cr2", "orf", "nef", "heif", "avif", "jxl", "j2k", "jp2", + "j2c", "jpx", ]) } diff --git a/src/output/icons.rs b/src/output/icons.rs index 1450a85..6dead88 100644 --- a/src/output/icons.rs +++ b/src/output/icons.rs @@ -207,6 +207,8 @@ pub fn icon_for_file(file: &File<'_>) -> char { "ini" => '\u{f17a}', //  "ipynb" => '\u{e606}', //  "iso" => '\u{e271}', //  + "j2c" => '\u{f1c5}', //  + "j2k" => '\u{f1c5}', //  "jad" => '\u{e256}', //  "jar" => '\u{e256}', //  "java" => '\u{e256}', //  @@ -215,9 +217,11 @@ pub fn icon_for_file(file: &File<'_>) -> char { "jif" => '\u{f1c5}', //  "jl" => '\u{e624}', //  "jmd" => '\u{f48a}', //  + "jp2" => '\u{f1c5}', //  "jpe" => '\u{f1c5}', //  "jpeg" => '\u{f1c5}', //  "jpg" => '\u{f1c5}', //  + "jpx" => '\u{f1c5}', //  "js" => '\u{e74e}', //  "json" => '\u{e60b}', //  "jsx" => '\u{e7ba}', // 