Skip to content

add icons for more file types and match files by name - #78

Merged
Araxeus merged 6 commits into
masterfrom
new-icons
Oct 31, 2026
Merged

Araxeus merged 6 commits into
masterfrom
new-icons

Conversation

@Araxeus

@Araxeus Araxeus commented Oct 31, 2026

Copy link
Copy Markdown
Owner

Summary

Adds 18 file types with their own icons and recognizes well-known files by their full name, not just their extension.

New icons

Icon Type Examples
📦 Archive zip, tar, gz, 7z, rar, deb, rpm, whl, crate
📕 Document pdf, docx, odt, epub, pptx
📊 Spreadsheet xlsx, ods, csv, tsv
📝 Markdown md, mdx, rst
📜 Shell sh, fish, nu, bat, cmd, ps1
📘 TypeScript ts, tsx, mts, cts
🐍 Python py, pyi, ipynb
💽 Disk image iso, img, dmg, vhdx
🔑 Key pem, crt, gpg, p12, .env, id_ed25519
🔤 Font ttf, otf, woff2
🧾 Log log
💎 Ruby rb, gemspec, Gemfile
🐹 Go go, go.mod
☕ Java java, class, kt
🐳 Docker Dockerfile, compose.yml
🙈 Gitignore .gitignore
🔒 Lock *.lock, package-lock.json, go.sum
🔨 Make Makefile, justfile, CMakeLists.txt

The .. entry now shows 📂 to set it apart from regular folders.

Name matching

  • New from_name runs before the extension lookup, so package-lock.json shows 🔒 instead of ⚙️
  • Catches extensionless files and dotfiles that Path::extension() misses
  • Config dotfiles (.npmrc, .bashrc, .editorconfig, .gitattributes) map to Settings

Fixes

  • pdf moved from Picture to Document
  • csv moved from Settings to Spreadsheet
  • Scripts (bat, cmd, ps1, vbs) moved from Executable to Shell
  • bin no longer treated as Executable
  • Added missing mjs, cjs, jsx, htm, heic, midi

@Araxeus
Araxeus merged commit 6b7ba99 into master Oct 31, 2026
2 checks passed
@Araxeus
Araxeus deleted the new-icons branch October 31, 2026 11:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant