Skip to content

Allow overwriting of default icons and colors #4549

Open
@89iuv

Description

@89iuv

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions