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.2.0 release

- Update icon for extensions `.qml`, `.qrc` & `.qss` and some config files,
Qt.
- Add KDE icon for some config files from KDE applications

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` and some
config files. Kdenlive, 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 extension `.toml`.
- Add icon for `.gtkrc-2.0`, `gtkrc` config files and `.gresource` file
extension. GTK.
- Add icon for `.tmux.conf`, `tmux.conf.local` config files and `.tmux`
file extension. tmux.
- 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 `hypr{idle,land,lock}.conf` file. Hyprland config file.
- Add icon for `i3{blocks,status}.conf` files. i3 config
files.
- Add icon for `mpv.conf` file. mpv config file.
- 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 and some config
files. 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.
  - 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 icon for CODE_OF_CONDUCT{,.md} files.
- Add icon for SECURITY{,.md} files.
- Add icon for README.md file.
- Add icon for `.aliases` and `.bash_aliases` files. SHELL.
- Add icon for `.envrc` file.
- Add icon for `.git-blame-ignore-revs` file. GIT.
- Add icon for `.parentlock`, `.lck` & `lock` files. Files used to
prevent an action in a program. LOCK.
- Add icon for `.cow` extension. Cowfiles from cowsay program.
- 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 `.editorconfig` extension.
- 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 `fonts.conf` file`, font. FONT.
- Add icon for `.flc` and `.flf` extensions. FIGlet font format. FONT.
- Add icon for `.pls` extension. Multimedia playlist.
- Add icon for `.sv`, `.svh` & `.vhdl` extensions. System Verilog, VHDL.
- Add icon for `.tcb`, `.tcl` extensions. Tcl.
- Add bible icon to `.hc` extension, HolyC programming language.
- Add window icon for `.ui` extension.
- Add Arch Linux icon for `.SRCINFO` file.
- Add SQLite icon for extensions `.db3`, `.s3db`, `.sl3`, `.sqlite`.
- Create GRAPH category for `.dot` and `.gv` files.
- Create LANG_LUA category for `.lua`, `.luac` and `.lua` 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 `.info`, `.nfo` extensions to INFO category.
- Add `.app` extension to BINARY category.
- Add `.applescript` extension to OS_APPLE category.
- Add `COMMIT_EDITMSG` extension to GIT category.
- Add `.odb` extension to DATABASE category.
- Add `.cast` extension to VIDEO, recording of terminal sessions
(asciinema)
- Add `.wrl` & `.wrz` to MODEL_3D category, Virtual Reality Modeling
Language
- Add icon for `vlcrc` config file, VLC.
- Add icon for `favicon.ico` file, star.
- Add icon for `pyvenv.cfg` file and `.pyw` extension, Python.
- Add `.json5`, `.jsonc` extensions to JSON category.
- 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 Sep 1, 2024
1 parent 313e602 commit 883f497
Show file tree
Hide file tree
Showing 2 changed files with 218 additions and 12 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 @@ -321,6 +325,8 @@ 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
"fcscript" => FileType::Source, // FreeCAD script
"fnl" => FileType::Source, // Fennel
"for" => FileType::Source, // Fortran
"fs" => FileType::Source, // F#
Expand All @@ -336,11 +342,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
"ixx" => FileType::Source, // C/C++ module
"java" => FileType::Source, // Java
Expand Down Expand Up @@ -382,6 +390,7 @@ const EXTENSION_TYPES: Map<&'static str, FileType> = phf_map! {
"sass" => FileType::Source, // Sass
"scala" => FileType::Source, // Scala
"scm" => FileType::Source, // Scheme
"scad" => FileType::Source, // OpenSCAD
"scss" => FileType::Source, // Sass
"sld" => FileType::Source, // Scheme Library Definition
"sql" => FileType::Source, // SQL
Expand Down
Loading

0 comments on commit 883f497

Please sign in to comment.