Skip to content

Commit 7402fbd

Browse files
feat: Add emojis for previously unrepresented programming languages and MacOS extensions
1 parent b17d3ff commit 7402fbd

File tree

3 files changed

+29
-14
lines changed

3 files changed

+29
-14
lines changed

README.md

+9-11
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ A modern, colorful directory listing tool for the command line.
44

55
![facad in action](assets/demo_facad.jpg)
66

7-
## Features
7+
## Features
88

99
- 🎨 Emoji-based file and directory icons
1010
- 📁 Sorted output with directories first
@@ -31,11 +31,11 @@ or install facad system-wide:
3131
sudo ninja install
3232
```
3333

34-
## 🛠️ Usage
34+
## Usage
3535

3636
Simply run `facad` command.
3737

38-
## 🤝 Contributing
38+
## Contributing
3939

4040
Contributions are welcome! Please feel free to submit a Pull Request.
4141

@@ -45,13 +45,11 @@ Contributions are welcome! Please feel free to submit a Pull Request.
4545
- Push to the Branch ( `git push origin feature/AmazingFeature` )
4646
- Open a Pull Request
4747

48-
## 📜 License
48+
## Author
49+
**Sergey Veneckiy**
50+
- Email: s.venetsky@gmail.com
51+
- GitHub: [@yellow-footed-honeyguide](https://github.com/yellow-footed-honeyguide)
4952

50-
Distributed under the MIT License. See LICENSE for more information.
51-
52-
## 📞 Contact
53-
54-
Name: Sergey Veneckiy
55-
56-
Email: s.venetsky@gmail.com
5753

54+
## License
55+
Distributed under the MIT License. See LICENSE for more information.

meson.build

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
project('facad', 'c',
2-
version : '1.3.0',
2+
version : '1.4.0',
33
default_options : ['warning_level=3'])
44

55
cc = meson.get_compiler('c')

src/emoji_utils.c

+19-2
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,15 @@ char *get_emoji(const char *path) {
137137
{"xz", "📦"}, {"7z", "📦"}, {"rar", "📦"}, {"deb", "📥"}, {"rpm", "📥"},
138138
{"py", "💻"}, {"sh", "💻"}, {"js", "💻"}, {"html", "💻"}, {"css", "💻"},
139139
{"cpp", "💻"}, {"c", "💻"}, {"java", "💻"}, {"go", "💻"}, {"rb", "💻"},
140-
{"rs", "💻"}, {"php", "💻"}, {"h", "💻"}, {"hpp", "💻"}, {"o", "🧩"},
140+
{"rs", "💻"}, {"php", "💻"}, {"h", "💻"}, {"hpp", "💻"},
141+
{"swift", "💻"}, {"kt", "💻"}, {"scala", "💻"}, {"ts", "💻"}, {"jsx", "💻"},
142+
{"tsx", "💻"}, {"vue", "💻"}, {"dart", "💻"}, {"lua", "💻"}, {"pl", "💻"},
143+
{"r", "💻"}, {"m", "💻"}, {"mm", "💻"}, {"asm", "💻"}, {"s", "💻"},
144+
{"f", "💻"}, {"f90", "💻"}, {"lisp", "💻"}, {"hs", "💻"}, {"ml", "💻"},
145+
{"clj", "💻"}, {"groovy", "💻"}, {"jl", "💻"}, {"ex", "💻"}, {"exs", "💻"},
146+
{"elm", "💻"}, {"coffee", "💻"}, {"ts", "💻"}, {"d", "💻"}, {"cs", "💻"},
147+
{"vb", "💻"}, {"fs", "💻"}, {"sql", "💻"}, {"pas", "💻"}, {"lhs", "💻"},
148+
{"cob", "💻"}, {"o", "🧩"},
141149
{"txt", "📝"}, {"rst", "📝"}, {"log", "📝"}, {"ttf", "🔤"}, {"otf", "🔤"},
142150
{"woff", "🔤"}, {"woff2", "🔤"}, {"pdf", "📚"}, {"djvu", "📚"}, {"epub", "📚"},
143151
{"pem", "🔑"}, {"crt", "🔑"}, {"key", "🔑"}, {"pub", "🔑"}, {"p12", "🔑"},
@@ -146,7 +154,16 @@ char *get_emoji(const char *path) {
146154
{"rtf", "📄"}, {"xls", "📄"}, {"xlsx", "📄"}, {"ods", "📄"}, {"ppt", "📄"},
147155
{"pptx", "📄"}, {"odp", "📄"}, {"conf", "⚙️"}, {"config", "⚙️"}, {"toml", "⚙️"},
148156
{"cfg", "⚙️"}, {"yaml", "⚙️"}, {"yml", "⚙️"}, {"json", "⚙️"}, {"ini", "⚙️"},
149-
{"target", "🎯"}, {"service", "🚀"}, {"socket", "🔁"}};
157+
{"target", "🎯"}, {"service", "🚀"}, {"socket", "🔁"},
158+
{"app", "📱"}, {"dmg", "💿"}, {"pkg", "📦"}, {"framework", "🧰"},
159+
{"plist", "📋"}, {"scpt", "📜"}, {"swift", "🐦"}, {"xcodeproj", "🛠️"}, {"xib", "🖼️"},
160+
{"mlmodel", "🧠"},{"arobject", "🎭"},
161+
{"sks", "🎮"}, {"car", "🚗"}, {"xcassets", "🗂️"}, {"entitlements", "🔐"},
162+
{"ipa", "📱"}, {"dSYM", "🐛"}, {"icns", "🖼️"},
163+
{"webloc", "🔗"}, {"workflow", "🔄"},{"terminal", "🖥️"},
164+
{"bundle", "🎁"}, {"pb", "📋"}, {"strings", "🔠"}, {"provisionprofile", "🔏"},
165+
{"ccl", "🎨"}, {"scnassets", "🌟"}, {"xcassets", "🗂️"}
166+
};
150167

151168
for (size_t i = 0; i < sizeof(ext_map) / sizeof(ext_map[0]); i++) {
152169
if (strcasecmp(extension, ext_map[i].key) == 0) {

0 commit comments

Comments
 (0)