Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

O_EMOJI: Use a bigger variety of emoji #1950

Merged
merged 4 commits into from
Nov 8, 2024
Merged

O_EMOJI: Use a bigger variety of emoji #1950

merged 4 commits into from
Nov 8, 2024

Conversation

dkabus
Copy link
Contributor

@dkabus dkabus commented Nov 6, 2024

This commit changes the following icon definitions to use more specific emoji as icons. All of the new definitions are padded with spaces to ensure they use two cells each.

ICON_CHESS "" -> "♟ " (chess notation)
ICON_FSHARP "" -> "🔷" (blue diamond looks like F Sharp logo)
ICON_FONT "" -> "🔤" (letters abc)
ICON_HTML "" -> "🌍" (globe)
ICON_JAVASCRIPT "" -> ICON_SCRIPT (use a less generic emoji)
ICON_MS_EXCEL ICON_WORDDOC -> "📗" (green book for Excel)
ICON_MUSIC "🎧" (headphones and notes for music folder)
ICON_MUSICFILE ICON_MUSIC -> "🎵" (one musical note for a song)
ICON_PLAYLIST "" -> "🎶" (multiple notes for a playlist)
ICON_PHOTOSHOP ICON_PICTUREFILE -> "🖌 " (paintbrush symbolising photo editing)
ICON_PICTUREFILE ICON_PICTURES -> "🖼 " (a framed picture)
ICON_RUST "" -> "🦀" (crab emoji looks like Rust mascot)
ICON_SASS "" -> ICON_EXT_CSS (CSS preprocessor)
ICON_VIDEOFILE ICON_VIDEOS -> "🎞 " (a film strip to symbolise a video)
ICON_VIDEOS "🎞 " -> "🎬" (a clapper board for videos folder)
ICON_VIM "" -> "🪛" (the power tool for everyone)
ICON_EXT_COFFEE "" -> ICON_JAVASCRIPT (JS preprocessor)
ICON_EXT_DEB ICON_LINUX -> "🍥" (Debian swirl)
ICON_EXT_GO "" -> "💨" (Go logo dashing away)
ICON_EXT_MAT "" -> ICON_EXT_M (MATLAB)
ICON_EXT_NIX "" -> "❄ " (Nix language logo like snowflake)
ICON_EXT_PHP "🌐" -> ICON_HTML (use same Emoji for PHP and HTML)
ICON_EXT_ROM "" -> "🔒" (a padlock)
ICON_EXT_TS "" -> ICON_JAVASCRIPT (JS with static typing)

This commit changes the following icon definitions to use
more specific emoji as icons. All of the new definitions are
padded with spaces to ensure they use two cells each.

ICON_CHESS "" -> "♟️ " (chess notation)
ICON_FSHARP "" -> "🔷" (blue diamond looks like F Sharp logo)
ICON_FONT "" -> "🔤" (letters abc)
ICON_HTML "" -> "🌍" (globe)
ICON_JAVASCRIPT "" -> ICON_SCRIPT (use a less generic emoji)
ICON_MS_EXCEL ICON_WORDDOC -> "📗" (green book for Excel)
ICON_MUSIC "🎧" (headphones and notes for music folder)
ICON_MUSICFILE ICON_MUSIC -> "🎵" (one musical note for a song)
ICON_PLAYLIST "" -> "🎶" (multiple notes for a playlist)
ICON_PHOTOSHOP ICON_PICTUREFILE -> "🖌️ " (paintbrush symbolising photo editing)
ICON_PICTUREFILE ICON_PICTURES -> "🖼️ " (a framed picture)
ICON_RUST "" -> "🦀" (crab emoji looks like Rust mascot)
ICON_SASS "" -> ICON_EXT_CSS (CSS preprocessor)
ICON_VIDEOFILE ICON_VIDEOS -> "🎞 " (a film strip to symbolise a video)
ICON_VIDEOS "🎞 " -> "🎬" (a clapper board for videos folder)
ICON_VIM "" -> "🪛" (the power tool for everyone)
ICON_EXT_COFFEE "" -> ICON_JAVASCRIPT (JS preprocessor)
ICON_EXT_DEB ICON_LINUX -> "🍥" (Debian swirl)
ICON_EXT_GO "" -> "💨" (Go logo dashing away)
ICON_EXT_MAT "" -> ICON_EXT_M (MATLAB)
ICON_EXT_NIX "" -> "❄️ " (Nix language logo like snowflake)
ICON_EXT_PHP "🌐" -> ICON_HTML (use same Emoji for PHP and HTML)
ICON_EXT_ROM "" -> "🔒" (a padlock)
ICON_EXT_TS "" -> ICON_JAVASCRIPT (JS with static typing)
Copy link
Collaborator

@N-R-K N-R-K left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks mostly okay. A couple minor stuff:

src/icons.h Outdated
@@ -68,64 +68,64 @@
#define ICON_DOWNLOADS ICON_STR(FA_DOWNLOAD, "󰃘", "📥")
#define ICON_ELIXIR ICON_STR(MFIZZ_ELIXIR, "", "💧")
#define ICON_ENCRYPT ICON_STR("", "󰌆", "🔒")
#define ICON_FSHARP ICON_STR(DEV_FSHARP, "", "")
#define ICON_FONT ICON_STR(FILE_FONT, "", "")
#define ICON_FSHARP ICON_STR(DEV_FSHARP, "", "🔷")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's better to have a generic source code icon instead of using emojies which are vaguely similar.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see your point. I've adressed this in commit e4ea1fd

src/icons.h Outdated
#define ICON_VIM ICON_STR(DEV_VIM, "", "")
#define ICON_VIDEOFILE ICON_STR(FA_FILE_MOVIE_O, "󰈫", "🎞 ")
#define ICON_VIDEOS ICON_STR(FA_FILM, "󰈰", "🎬")
#define ICON_VIM ICON_STR(DEV_VIM, "", "🪛")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't get the vim and 🪛 association.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Vim is called "The power tool for everyone!" on their official website. https://www.vim.org/

src/icons.h Outdated
#define ICON_EXT_DIFF ICON_STR(FILE_DIFF, "", "📋")
#define ICON_EXT_GO ICON_STR(MFIZZ_GO, "󰟓", "")
#define ICON_EXT_GO ICON_STR(MFIZZ_GO, "󰟓", "💨")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't get how 💨 connects to go. Also, the previous comment about generic source code icon applies here.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adressed in c299fe8

src/icons.h Show resolved Hide resolved
@jarun
Copy link
Owner

jarun commented Nov 8, 2024

@N-R-K please merge when ready.

@N-R-K N-R-K merged commit d17df60 into jarun:master Nov 8, 2024
7 checks passed
@N-R-K
Copy link
Collaborator

N-R-K commented Nov 8, 2024

Thanks. Merged.

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.

3 participants