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

Icons on Custom Widgets #444

Open
ayman opened this issue Mar 22, 2023 · 1 comment
Open

Icons on Custom Widgets #444

ayman opened this issue Mar 22, 2023 · 1 comment

Comments

@ayman
Copy link
Contributor

ayman commented Mar 22, 2023

Is there a way to add an icon to a custom widget?

(defun dashboard-insert-heading (heading &optional shortcut) in dashboard-widgets.el has a cond which catches the built in section types but I couldn't see how to have that match a custom section with icon.

I have an easy modification to dashboard-insert-heading to make this work but wanted to check here first before submitting the pull request.

@ricardoricho
Copy link
Contributor

Hi @ayman you're right! That cond inside dashboard-insert-heading makes the icons insertions closed to other widgets.
Please submit your pull request.

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