lsd icon indicating copy to clipboard operation
lsd copied to clipboard

Add `ls_colors` option to theme

Open zwpaper opened this issue 3 years ago • 2 comments

As of now, we support theme for colors, and still use ls_colors for file name colors, how about adding the ls_colors option to the theme configuration file, and so that we can configure all the colors in one place.

also, there is something that needs to be covered:

  1. the ls_colors in the theme should be optional, and fall back to LS_COLORS env
  2. the one in themes should overwrite the env one

@meain

zwpaper avatar Jan 17 '22 03:01 zwpaper

That sounds good. LS_COLORS makes sense as an env since it is a common standard and multiple programs can make use of it, but having an additional option to configure it via the config file is not a bad idea.

meain avatar Jan 17 '22 04:01 meain

On second thought I was wondering what would be the use of being able to specify LS_COLORS specifically for lsd?

meain avatar Sep 12 '22 04:09 meain