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 Request] Let change modal icons. #753

Open
Rid1FZ opened this issue Dec 7, 2024 · 2 comments
Open

[Feature Request] Let change modal icons. #753

Rid1FZ opened this issue Dec 7, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@Rid1FZ
Copy link

Rid1FZ commented Dec 7, 2024

Is your feature request related to a problem? Please describe.
There are 3 options to set 3 different types of icons for evil-mode, but it is not enough customizable. It will always use some rounded nerd-fonts icons, or unicode icon, or text. An option to use any custom icon will be a great deal.

Describe the solution you'd like
I went through the source code and found that the doom-modeline--evil function is used to set the icons in doom-modeline-segments.el file. Checking if doom-modeline--evil is already defined will let us define this function(hence customize the icons) before loading doom-modeline.

Additional context
I tried defining this function before and after loading doom-modeline, but it didn't did the trick. I think some changes needed in source code as well.

@Rid1FZ Rid1FZ added the enhancement New feature or request label Dec 7, 2024
@seagle0128
Copy link
Owner

doom-modeline--evil is an inline function.

@Rid1FZ
Copy link
Author

Rid1FZ commented Dec 8, 2024

@seagle0128 we can also use variables like doom-modeline-evil-normal-icon or something. It is much better compared to re-defining any builting function outside of the package.

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

2 participants