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 committed Sep 28, 2024
1 parent 6ca47ee commit a29b6c5
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/output/icons.rs
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,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 @@ -470,6 +471,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 @@ -604,6 +606,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 @@ -734,6 +737,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 @@ -770,6 +774,7 @@ const EXTENSION_ICONS: Map<&'static str, char> = phf_map! {
"v" => Icons::LANG_V, // 
"vdi" => Icons::DISK_IMAGE, // 
"vhd" => Icons::DISK_IMAGE, // 
"vhs" => '\u{F0A1B}', // 󰨛
"video" => Icons::VIDEO, // 
"vim" => Icons::VIM, // 
"vmdk" => Icons::DISK_IMAGE, // 
Expand All @@ -787,6 +792,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 @@ -805,6 +811,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 a29b6c5

Please sign in to comment.