mirror of
https://github.com/jarun/nnn.git
synced 2025-01-15 21:36:42 +00:00
Add Elixir icon (#1437)
* Added icons for erlang, elixir and lockfile * Lockfile icon updated * Added colors for Erlang and elixir * Added few more color variations and configured colors and file extensions * remove erlang and lock, use 1 color for elixir Co-authored-by: Tharindu Abeydeera <tharindu.a@vizuamatix.com> Co-authored-by: NRK <nrk@disroot.org>
This commit is contained in:
parent
e2e1d80d58
commit
98287158aa
|
@ -65,6 +65,7 @@
|
||||||
#define ICON_DESKTOP ICON_STR(FA_DESKTOP, "\ufcbe", "🖥️ ")
|
#define ICON_DESKTOP ICON_STR(FA_DESKTOP, "\ufcbe", "🖥️ ")
|
||||||
#define ICON_DOCUMENT ICON_STR(FA_FILE_TEXT_O, "\uf718", "🗒 ")
|
#define ICON_DOCUMENT ICON_STR(FA_FILE_TEXT_O, "\uf718", "🗒 ")
|
||||||
#define ICON_DOWNLOADS ICON_STR(FA_DOWNLOAD, "\uf5d7", "📥")
|
#define ICON_DOWNLOADS ICON_STR(FA_DOWNLOAD, "\uf5d7", "📥")
|
||||||
|
#define ICON_ELIXIR ICON_STR(MFIZZ_ELIXIR, "\ue62d", "💧")
|
||||||
#define ICON_ENCRYPT ICON_STR("", "\uf805", "🔒")
|
#define ICON_ENCRYPT ICON_STR("", "\uf805", "🔒")
|
||||||
#define ICON_FSHARP ICON_STR(DEV_FSHARP, "\ue7a7", "")
|
#define ICON_FSHARP ICON_STR(DEV_FSHARP, "\ue7a7", "")
|
||||||
#define ICON_GIT ICON_STR(FA_GIT, "\ue5fb", "🌱")
|
#define ICON_GIT ICON_STR(FA_GIT, "\ue5fb", "🌱")
|
||||||
|
@ -150,6 +151,7 @@
|
||||||
COLOR_X(COLOR_SCALA, 196) /* Red1 */ \
|
COLOR_X(COLOR_SCALA, 196) /* Red1 */ \
|
||||||
COLOR_X(COLOR_SHELL, 47) /* SpringGreen2 */ \
|
COLOR_X(COLOR_SHELL, 47) /* SpringGreen2 */ \
|
||||||
COLOR_X(COLOR_VIM, 28) /* Green4 */ \
|
COLOR_X(COLOR_VIM, 28) /* Green4 */ \
|
||||||
|
COLOR_X(COLOR_ELIXIR, 104) /* MediumPurple */ \
|
||||||
|
|
||||||
/* X-Macro: https://en.wikipedia.org/wiki/X_Macro */
|
/* X-Macro: https://en.wikipedia.org/wiki/X_Macro */
|
||||||
#define COLOR_X(N, V) N = (V),
|
#define COLOR_X(N, V) N = (V),
|
||||||
|
@ -248,6 +250,9 @@ static const struct icon_pair icons_ext[] = {
|
||||||
{"elf", ICON_LINUX, 0},
|
{"elf", ICON_LINUX, 0},
|
||||||
{"epub", ICON_PDF, COLOR_DOCS},
|
{"epub", ICON_PDF, COLOR_DOCS},
|
||||||
{"exe", ICON_EXEC, 0},
|
{"exe", ICON_EXEC, 0},
|
||||||
|
{"ex", ICON_ELIXIR, COLOR_ELIXIR},
|
||||||
|
{"eex", ICON_ELIXIR, COLOR_ELIXIR},
|
||||||
|
{"exs", ICON_ELIXIR, COLOR_ELIXIR},
|
||||||
|
|
||||||
/* F */
|
/* F */
|
||||||
{"f#", ICON_FSHARP, COLOR_FSHARP},
|
{"f#", ICON_FSHARP, COLOR_FSHARP},
|
||||||
|
@ -277,6 +282,7 @@ static const struct icon_pair icons_ext[] = {
|
||||||
{"htm", ICON_HTML, 0},
|
{"htm", ICON_HTML, 0},
|
||||||
{"html", ICON_HTML, 0},
|
{"html", ICON_HTML, 0},
|
||||||
{"hxx", ICON_CPLUSPLUS, COLOR_C},
|
{"hxx", ICON_CPLUSPLUS, COLOR_C},
|
||||||
|
{"heex", ICON_ELIXIR, COLOR_ELIXIR},
|
||||||
|
|
||||||
/* I */
|
/* I */
|
||||||
{"ico", ICON_PICTUREFILE, COLOR_IMAGE},
|
{"ico", ICON_PICTUREFILE, COLOR_IMAGE},
|
||||||
|
|
Loading…
Reference in a new issue