lsd icon indicating copy to clipboard operation
lsd copied to clipboard

icon theme may support icons by regex

Open zwpaper opened this issue 3 years ago • 5 comments

after https://github.com/Peltoche/lsd/pull/707 merged, we have icon themes, maybe we should support icons by regex.

we can discuss it here

zwpaper avatar Aug 19 '22 02:08 zwpaper

What would be a good usecase of this?

meain avatar Sep 23 '22 04:09 meain

dockerfile*: whale to set whale icon for all the files start with dockerfile

zwpaper avatar Sep 24 '22 07:09 zwpaper

Wouldn't https://github.com/Peltoche/lsd/issues/726 support it if do it?

meain avatar Sep 24 '22 08:09 meain

#726 have to be split by dot ., and also maybe an example like this would make more sense:

*.tar.*: icon set all xx.tar.gz, xxx.tar.xz etc. to use a tar file icon

zwpaper avatar Sep 24 '22 17:09 zwpaper

One concern that I have with this is that this will mean that we will be able to target more specifically for icons compared to colors which might be confusing. Unless there is a strong need for this, I think we should stick to the current capabilities.

meain avatar Sep 26 '22 04:09 meain