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

[Feature] Prompt to add Nerd font #10

Closed
niksingh710 opened this issue Jul 30, 2022 · 5 comments
Closed

[Feature] Prompt to add Nerd font #10

niksingh710 opened this issue Jul 30, 2022 · 5 comments

Comments

@niksingh710
Copy link

As the emoji Db is mere simple .txt
we can prompt the user at first start if he wants to have the Nerd Font Cheat Sheet database appended to it to have access to much more glyphs.

@niksingh710 niksingh710 mentioned this issue Aug 7, 2022
@marty-oehme
Copy link
Owner

Do you mean as another parameter essentially for the -D option, so that instead of just -D emoji or math we could also do nerdfont?

I am not exactly familiar with how the nerdfont cheatsheet keeps its entries, is there a single page text file with all the entries listed that we could curl?

Then I believe it should not be too hard to implement.
Also, last question, the emojis gotten from this page would presumably only work with fonts that have the nerdfont glyphs enabled, correct?

@niksingh710
Copy link
Author

yep to get the nerd font glyphs to work the user is required to have a nerd font ttf|otf file installed in the system.

I am unable to find nerdfont cheat sheet in a text file on their website they have it.

i found a new addition that is also helpful Unicode

@niksingh710
Copy link
Author

Nerd-font

have to figure out how to get the corresponding icons with them.

@marty-oehme
Copy link
Owner

I see, yes for the nerdfont we would need a way to get both the glyph and the description together.

The unicode sheet is actually a really good idea and easier to implement, maybe you can open a new issue with that one and we could probably get it added relatively painlessly - seems

In general I am hesitant of putting too many downloaders in the main file since I don't want to add too much code complication into the file that does not directly have to do with actual emoji typing/copying. But perhaps if we get more added, we could split it into its own little script that then gets called by the main program on first run. I'll have a think about it.

@niksingh710
Copy link
Author

In general I am hesitant of putting too many downloaders in the main file since I don't want to add too much code complication into the file that does not directly have to do with actual emoji typing/copying. But perhaps if we get more added, we could split it into its own little script that then gets called by the main program on first run. I'll have a think about it.

Yeah having separate files will be nice as the main motive is only emojis. (unicode+nerdfont) are additional stuff based on user choice if the user wants to add them.
we can have separate .txt file to store Unicode and nerd font.

For Unicode, i have created a new issue #11

marty-oehme added a commit that referenced this issue May 1, 2023
Same as the other symbol download options, this one takes a list of all
nerdfont icons and wrangles them into shape to be usable with the emoji
picker. Can be used by invoking `bemoji -D nerd` or `bemoji -D all`.

Fixes #10.
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

No branches or pull requests

2 participants