Skip to content

Commit

Permalink
feat(icons): update just, add more formats
Browse files Browse the repository at this point in the history
Fix default justfile name, it is defined as 'Justfile' but 'just --init' creates the default file name as 'justfile' with a lower case 'j' - Also added the VHS file format for charmbracelets terminal recording ascii file format. Added .xci and .nsp extensions for switch games, .z64 for n64 games, .gba for gameboy games and added .swf for the sound font file format.
  • Loading branch information
sweetbbak authored and cafkafk committed Sep 29, 2024
1 parent e7882ce commit 957362d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/output/icons.rs
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,7 @@ const FILENAME_ICONS: Map<&'static str, char> = phf_map! {
"Jenkinsfile" => '\u{e66e}', // 
"jsconfig.json" => Icons::LANG_JAVASCRIPT,// 
"Justfile" => Icons::WRENCH, // 
"justfile" => Icons::WRENCH, // 
"known_hosts" => '\u{f08c0}', // 󰣀
"LICENCE" => Icons::LICENSE, // 
"LICENCE.md" => Icons::LICENSE, // 
Expand Down Expand Up @@ -476,6 +477,7 @@ const EXTENSION_ICONS: Map<&'static str, char> = phf_map! {
"fsi" => Icons::LANG_FSHARP, // 
"fsproj" => Icons::LANG_FSHARP, // 
"fsx" => Icons::LANG_FSHARP, // 
"gba" => '\u{f1393}', // 󱎓
"gcode" => '\u{f0af4}', // 󰫴
"gd" => Icons::GODOT, // 
"gdoc" => Icons::DOCUMENT, // 
Expand Down Expand Up @@ -610,6 +612,7 @@ const EXTENSION_ICONS: Map<&'static str, char> = phf_map! {
"ninja" => '\u{f0774}', // 󰝴
"nix" => '\u{f313}', // 
"node" => Icons::NODEJS, // 
"nsp" => '\u{F07E1}', // 󰟡
"nu" => Icons::SHELL_CMD, // 
"o" => Icons::BINARY, // 
"obj" => Icons::FILE_3D, // 󰆧
Expand Down Expand Up @@ -741,6 +744,7 @@ const EXTENSION_ICONS: Map<&'static str, char> = phf_map! {
"sublime-theme" => Icons::SUBLIME, // 
"svelte" => '\u{e697}', // 
"svg" => Icons::VECTOR, // 󰕙
"swf" => Icons::AUDIO, // 
"swift" => '\u{e755}', // 
"t" => Icons::LANG_PERL, // 
"tar" => Icons::COMPRESSED, // 
Expand Down Expand Up @@ -777,6 +781,8 @@ const EXTENSION_ICONS: Map<&'static str, char> = phf_map! {
"v" => Icons::LANG_V, // 
"vdi" => Icons::DISK_IMAGE, // 
"vhd" => Icons::DISK_IMAGE, // 
"vhs" => '\u{F0A1B}', // 󰨛
"tape" => '\u{F0A1B}', // 󰨛
"video" => Icons::VIDEO, // 
"vim" => Icons::VIM, // 
"vmdk" => Icons::DISK_IMAGE, // 
Expand All @@ -794,6 +800,7 @@ const EXTENSION_ICONS: Map<&'static str, char> = phf_map! {
"woff" => Icons::FONT, // 
"woff2" => Icons::FONT, // 
"wv" => Icons::AUDIO, // 
"xci" => '\u{F07E1}', // 󰟡
"xcf" => Icons::IMAGE, // 
"xhtml" => Icons::HTML5, // 
"xlr" => Icons::SHEET, // 
Expand All @@ -812,6 +819,7 @@ const EXTENSION_ICONS: Map<&'static str, char> = phf_map! {
"zsh" => Icons::SHELL_CMD, // 
"zsh-theme" => Icons::SHELL, // 󱆃
"zst" => Icons::COMPRESSED, // 
"z64" => '\u{f1393}', // 󱎓
};

/// Converts the style used to paint a file name into the style that should be
Expand Down

0 comments on commit 957362d

Please sign in to comment.