eza icon indicating copy to clipboard operation
eza copied to clipboard

Color Setting for Icons

Open gierens opened this issue 2 years ago • 0 comments

In the discussion https://github.com/orgs/eza-community/discussions/891 the user asks about the ability to make the icon color different from the file name color. I took a peek into the code and actually ended up implementing this functionality.

So this adds the EZA_COLORS variable ic for icon which ends up as an Option<Style> in the UiStyle with None as default. The logic in the FileName.paint is adjusted to apply the icon style when the value is Some and otherwise fall back to the usual behavior, namely that the icon color matches the file name color.

Screenshot from 2024-03-21 21-39-48

gierens avatar Mar 21 '24 20:03 gierens