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

Allow use of all Lucide icons or emojis for icons #119

Open
realfr opened this issue Dec 6, 2023 · 11 comments
Open

Allow use of all Lucide icons or emojis for icons #119

realfr opened this issue Dec 6, 2023 · 11 comments
Labels
enhancement New feature or request

Comments

@realfr
Copy link

realfr commented Dec 6, 2023

Describe the feature

  • Enable all available Lucide icons, this way after browsing, I can just search for the icon on the plugin and have it available.
  • Expand the choice of icons to something that can be browsed on any computer or mobile phone like emojis. I can browse for the appropriate emoji and then just apply it using the plugin.

Does this fix a problem? If so, specify.

The only way to find an appropriate icon is to keep typing words that might potentially match an icon available from the plugin. This can take ages. The icons are only searchable via their names on Lucide.

Did you consider other alternatives?

An alternative way of finding an icon would be to go to Lucide. What's very frustrating with this workflow is that once I've found an icon, it is often not available on the plugin.

Screenshots and recordings

No response

@realfr realfr added the enhancement New feature or request label Dec 6, 2023
@purierca
Copy link

HUGE request on my side, to me that's the only thing that's missing

@jcesguerram
Copy link

Agreed! More icons would be great.
If you could add for example 'H1', 'H2' etc icons for header commands that would be awesome

@erazlogo
Copy link

+1 on this request. I have my own script to create a new kanban board, and I'd love to assign the icon Obsidian Kanban uses for the Ribbon to my script, but it is not available in Commander :( Thank you!

@brunoprela
Copy link

Another +1 on this request. More emojis make this app so much more powerful when you use is for many ribbon items for example.

@O-RONI
Copy link

O-RONI commented Jun 20, 2024

+1 on this request!

In the meantime, I managed to use some of the other Lucide icons by manually putting them in the data.json file in the plugin directory. But this would be 100% better...

@jcesguerram
Copy link

+1 on this request!

In the meantime, I managed to use some of the other Lucide icons by manually putting them in the data.json file in the plugin directory. But this would be 100% better...

how did you do that?

@O-RONI
Copy link

O-RONI commented Jun 20, 2024

how did you do that?

1. Go to <YOUR VAULT>/.obsidian/plugins/cmdr/data.json.

2. Search for the command you want to change the icon for

for example, this one:

image

3. Change the icon value for one of the Lucide icons name

You can look for them here: https://lucide.dev/icons/

image

image

4. Restart Obsidian or the commander plugin for the change to take effect

image

@jcesguerram
Copy link

how did you do that?

1. Go to <YOUR VAULT>/.obsidian/plugins/cmdr/data.json.

2. Search for the command you want to change the icon for

for example, this one:

image

3. Change the icon value for one of the Lucide icons name

You can look for them here: https://lucide.dev/icons/

image

image

4. Restart Obsidian or the commander plugin for the change to take effect

image

oh wow, thanks!

@erazlogo
Copy link

erazlogo commented Jun 20, 2024

Thank you @O-RONI! Worked like a charm.

@jcesguerram
Copy link

Thank you @O-RONI! Worked like a charm.

@O-RONI same here! worked great! i really wanted to do that!

@jsmorabito
Copy link
Collaborator

Hi all, my understanding is that this is done on Obsidian's side. I noticed a request on the forum here if you'd like to upvote it:
https://forum.obsidian.md/t/upgrade-lucide-icons-and-improve-timeliness-of-future-upgrades/73152

I'd asked about this previously on Discord here (not sure if that link will work):
https://discord.com/channels/686053708261228577/840286264964022302/1217155092256526528

But basically they said they'll update it at some point ¯_(ツ)_/¯

Thank you @O-RONI for providing a quick fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

7 participants