Skip to content

Allow overwriting of default icons and colors #4549

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

Open
89iuv opened this issue May 9, 2025 · 0 comments
Open

Allow overwriting of default icons and colors #4549

89iuv opened this issue May 9, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@89iuv
Copy link

89iuv commented May 9, 2025

Is your feature request related to a problem? Please describe.
I want to change the default directory icon and color.

Describe the solution you'd like
Add a new option in config yaml to override the default directory icon and color:

gui:
    customIcons:
        defaults:
            DEFAULT_DIRECTORY_ICON:
                icon: "\U000f011b"
                color: "#BC4009"

Describe alternatives you've considered
I tried the solution from here: #3863

echo -ne "\033]4;241;rgb:65/bc/ff\007" && lazygit

This did not work, and it seems more of a hack than a solution.

Additional context
I did a little investigation and it looks like the icons and colors are hardcoded here:

DEFAULT_DIRECTORY_ICON = IconProperties{Icon: "\uf07b", Color: "#878787"} // 

It would be nice to expose all of the default icons and colors through the config file.

@89iuv 89iuv added the enhancement New feature or request label May 9, 2025
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

1 participant