Skip to content

Commit

Permalink
feat(icons): Add new icons, extensive list
Browse files Browse the repository at this point in the history
Bugfix

- Remove `.acc` extension, fix typo.
- Add icon for `.aac` extension, audio. Audio compression format from MPEG.

New glyphs from Nerd Font 3.1.0 release

- Update icon for extension `.xcf` file, GIMP file.
- Add icon for extension `.scad`, OpenSCAD file. Parametric CAD software.
- Add icon for extension `.kdenlive` and `.kdenlivetitle`, Kdenlive file. Non linear video editing software.
- Add icon for extension `.ino`, Arduino file. Arduino is an open-source electronics platform that consists of both hardware and software.
- Add icon for extension `.msf`, Thunderbird. Mail summary file used by the Mozilla Thunderbird mail client.
- Add icon for `.gtkrc-2.0`, `gtkrc` config files and `.gresource` file extension. GTK.
- Add icon for `lxde-rc.xml` file. LXDE config file.
- Add icon for `lxqt.conf` file. LXQt config file.
- Add icon for `sxhkdrc` file, update `bspwmrc` file icon. bspwm and sxhkd config files.
- Add icon for `hyprland.conf` file. Hyprland config file.
- Add icon for `i3blocks.conf` and `i3status.conf` files. i3 config files.
- Add icon for `.jwmrc` and system.jwmrc` files. JWM config files.
- Add icon for `xmobarrc*` and `xmonad.hs` files. Xmonad config files.
- Add icon for `weston.ini` file. Weston config file.
- Add icon for `.kpp`, `.kra` and `.krz` extensions, Krita. Free software for digital illustration and animation.
- Add icon for Prusa Slicer `PrusaSlicer.ini` and `PrusaSlicerGcodeViewer.ini` config files.
- Add icon for several KiCad file extensions. Free software suite for electronic design automation (EDA).
  - `.kicad_pro` Project file, containing settings that are shared between the schematic and PCB.
  - `.kicad_sch` Schematic files containing all info and the components themselves.
  - `.kicad_sym` Schematic symbol library file, containing the component descriptions: graphic shape, pins, fields.
  - `.kicad_pcb` Board file containing all info but the page layout.
  - `.kicad_mod` Footprint files, containing one footprint description each.
  - `.kicad_dru` Design rules file, containing custom design rules for a certain .kicad_pcb file.
  - `.kicad_prl` Local settings for the current project; helps Kicad remember the last used settings such as layer visibility or selection filter.
  - `.kicad_wks` Page layout (drawing border and title block) description file.
  - `sym-lib-table` Symbol library table: list of symbol libraries available in the schematic editor.Board editor files and folders.
  - `fp-lib-table` Footprint library table: list of footprint libraries available in the board editor.
  - `fp-info-cache` Cache to speed up loading of footprint libraries. (CACHE category)
  - Note: Legacy file extensions were ignored, also `.net` and `.cmp` extensions (kind of generic).
- Add icon for several FreeCAD file extensions. General-purpose parametric 3D computer-aided design (CAD) modeler.
  - `.fcstd` FreeCAD native format.
  - `.fcmacro` FreeCAD macro (Python code).
  - `.fcmat` FreeCAD material card.
  - `.fcparam` FreeCAD parameter file.
  - `.fcscript` FreeCAD script (Python code).
  - `.fctb` Path tool bit file (JSON format).
  - `.fctl` Path tool library file (JSON format).
  - `.fcbak` FreeCAD Backup file.
  - `.fcstd1` FreeCAD Backup file.
  - `FreeCAD.conf` Configuration file.

Glyphs that were already available

- Add SQLite icon for extensions `.db3`, `.s3db`, `.sl3`, `.sqlite`.
- Add icon for `.aliases` and `.bash_aliases` files. SHELL.
- Add icon for `.parentlock` and `lock` files. Files used to prevent an action in a program. LOCK.
- Add icon for `.xpi `extension, Mozilla extension.
- Add icon for `.cache` extension, Cache files. CACHE.
- Add icon for `.dconf` extension. Simple database file format. DATABASE.
- Add icon for `.mo`, `.po`, `.pot` and `.qm` extensions. Extensions used for translation files. TRANSLATION.
- Add icon for `.ass` extension, subtitles. Subtitles file created with Aegisub. SUBTITLES.
- Add icon for `.sf2` and `.sfz` extensions. File format that uses sample-based synthesis to play MIDI files.
- Add icon for `.vsix` extension, Visual Studio. Visual Studio extensions.
- Add icon for `.lff` extension, font. LibreCAD font format. FONT.
- Add icon for `.flc` and `.flf` extensions. FIGlet font format. FONT.
- Add icon for `.pls` extension, playlist. Multimedia playlist.
- Create GRAPH category for `.dot` and `.gv` files.
- Create LOG category for `log`, `LOG` and `*.log` files.
- Add `LOCK` file to LOCK category.
- Add `.3g2`, `.3gp`, `.3gp2`, `.3gpp` and `.3gpp2` extensions to VIDEO.
- Add `.docm` to DOCUMENT category.
- Add bible icon to `.hc` extension, HolyC programming language.
- Add `.SRCINFO` file and `.info`, `.nfo` extensions to INFO category.
- Add `.odb` extension to DATABASE category.
- Add window icon for `.ui` extension.
- Add `.cast` extension to SHELL_CMD, recording of terminal sessions (asciinema)
- Add icon for CAD file extensions.
  - `.ige`, `.iges`, `.igs`, `.ste`, `.step` and `.stp`. Common file extensions used for CAD data exchange.
  - Add icon for `.ifc` extension. Description of architectural, building and construction industry data.
  - Add icon for `.slvs` extension. SolveSpace. FOSS CAD program.
  - Add icon for `.skp` extension, SketchUp. 3D modeling program.
  - Add icon for `.sldasm` and `.sldprt` extensions, SolidWorks.
  - Add icon for `.3dm` extension, Rhinoceros 3D.
  - Add icon for `.123dx` extension, 123D.
  - Add icon for `.psm` extension, SolidEdge. `.par` and `.asm` extensions are already in use.
  - Add icon for `.x_b` and `.x_t` extensions, Parasolid. CAD kernel.
  - Add icon for `.catpart` and `.catproduct` extensions, CATIA.
  - Add icon for `.f3d` and `.f3z` extensions, Autodesk Fusion 360.
  - Add icon for `.iam` and `.ipt` extensions, Autodesk Inventor.
  - Add icon for `.dwg` and `.dxf` extensions, AutoCAD.
  - Add icon for `.brep` extension, CAD. Boundary representation.
- Add icons for EDA schematic and EDA PCB files.
  - Add icons for `.brd`, `.lbr` and `.sch` extensions, EAGLE.
  - Add icons for `.schdoc`, `.pcbdoc` and `.prjpcb` extensions, Altium Designer.
  - Add icon for `.lpp` extension, LibrePCB.
  - Add icon for Gerber format. Multiple file extensions used to save Gerber files.
  • Loading branch information
hasecilu committed Mar 15, 2024
1 parent 4702e08 commit c52a9be
Show file tree
Hide file tree
Showing 2 changed files with 162 additions and 8 deletions.
11 changes: 10 additions & 1 deletion src/info/filetype.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ const EXTENSION_TYPES: Map<&'static str, FileType> = phf_map! {
"jpg" => FileType::Image,
"jpx" => FileType::Image,
"jxl" => FileType::Image,
"kra" => FileType::Image,
"krz" => FileType::Image,
"nef" => FileType::Image,
"odg" => FileType::Image,
"orf" => FileType::Image,
Expand Down Expand Up @@ -260,6 +262,8 @@ const EXTENSION_TYPES: Map<&'static str, FileType> = phf_map! {
"bkp" => FileType::Temp,
"crdownload" => FileType::Temp,
"download" => FileType::Temp,
"fcbak" => FileType::Temp,
"fcstd1" => FileType::Temp,
"fdmdownload"=> FileType::Temp,
"part" => FileType::Temp,
"swn" => FileType::Temp,
Expand Down Expand Up @@ -287,7 +291,7 @@ const EXTENSION_TYPES: Map<&'static str, FileType> = phf_map! {
"pyo" => FileType::Compiled, // Python optimized code
"so" => FileType::Compiled, // Unix shared library
"zwc" => FileType::Compiled, // zsh compiled file
/* Source code */
/* Source code files */
"applescript"=> FileType::Source, // Apple script
"as" => FileType::Source, // Action script
"asa" => FileType::Source, // asp
Expand Down Expand Up @@ -317,8 +321,10 @@ const EXTENSION_TYPES: Map<&'static str, FileType> = phf_map! {
"exs" => FileType::Source, // Elixir
"f" => FileType::Source, // Fortran
"f90" => FileType::Source, // Fortran
"fcmacro" => FileType::Source, // FreeCAD macro
"for" => FileType::Source, // Fortran
"fs" => FileType::Source, // F#
"fcscript" => FileType::Source, // FreeCAD script
"fsh" => FileType::Source, // Fragment shader
"fsi" => FileType::Source, // F#
"fsx" => FileType::Source, // F#
Expand All @@ -331,11 +337,13 @@ const EXTENSION_TYPES: Map<&'static str, FileType> = phf_map! {
"h++" => FileType::Source, // C/C++ header
"hh" => FileType::Source, // C/C++ header
"hpp" => FileType::Source, // C/C++ header
"hc" => FileType::Source, // HolyC
"hs" => FileType::Source, // Haskell
"htc" => FileType::Source, // JavaScript
"hxx" => FileType::Source, // C/C++ header
"inc" => FileType::Source,
"inl" => FileType::Source, // C/C++ Microsoft
"ino" => FileType::Source, // Arduino
"ipynb" => FileType::Source, // Jupyter Notebook
"java" => FileType::Source, // Java
"jl" => FileType::Source, // Julia
Expand Down Expand Up @@ -375,6 +383,7 @@ const EXTENSION_TYPES: Map<&'static str, FileType> = phf_map! {
"rq" => FileType::Source, // SPARQL (query language)
"sass" => FileType::Source, // Sass
"scala" => FileType::Source, // Scala
"scad" => FileType::Source, // OpenSCAD
"scss" => FileType::Source, // Sass
"sql" => FileType::Source, // SQL
"swift" => FileType::Source, // Swift
Expand Down
Loading

0 comments on commit c52a9be

Please sign in to comment.