lf icon indicating copy to clipboard operation
lf copied to clipboard

lf icons won't work

Open kars0n777 opened this issue 2 years ago • 8 comments

this happens on st and alacritty i use the jetbrains mono nerd font theme icons were working before then an update made the icons a letter instead what the icons look like

the icons work with exa which shows icons on my terminal as well, but lf seems to be not using them.

my config is located here

kars0n777 avatar Apr 06 '22 15:04 kars0n777

I have the same issue.

Even i tried to copy icons.example into:

  1. ~/.config/lf
  2. /etc/lf/

But still can't see the icons.

LinArcX avatar Apr 07 '22 14:04 LinArcX

I have the same issue.

Even i tried to copy icons.example into:

1. `~/.config/lf`

2. `/etc/lf/`

But still can't see the icons.

Just tried this myself on Pop!_OS 21.10 w/ KDE Plasma and had the same result. I do have NerdFont installed (Shure Tech Mono Nerd Font Complete Mono.ttf)

ItsRogueRen avatar Apr 08 '22 03:04 ItsRogueRen

Had the same issue, copied icons into env variable LF_ICONS and worked again.

using zsh, alacritty, and jetbrains mono nerd

Player01osu avatar Apr 10 '22 03:04 Player01osu

found a solution, which is that icons.example needed to be renamed to just icons

ItsRogueRen avatar Apr 10 '22 20:04 ItsRogueRen

found a solution, which is that icons.example needed to be renamed to just icons

I copied the colors and icons files into my lf directory and have set icons to true, still I just see [] instead of icons, am I doing something wrong? Have not tried the LF_ICONS envrionment variable method as that has been removed from the wiki and currently there is no guide on how to enable the icons.

halshar avatar Apr 29 '22 19:04 halshar

The file should be named icons and it should be located inside one of these directories:

OS system-wide user-specific
Unix /etc/lf/ ~/.config/lf/
Windows C:\ProgramData\lf\ C:\Users\<user>\AppData\Local\lf\

Remember to add set icons to your lfrc config file.

mroavi avatar May 20 '22 16:05 mroavi

@mroavi, I think this is not intuitive to everyone, so, I used your data to add this section to the installation tutorial: https://github.com/gokcehan/lf/wiki/Tutorial#colors-and-icons

mahmoudajawad avatar Jul 05 '22 03:07 mahmoudajawad

aahh, the reason why icons feature was not working was because I was using r26 version and icons support was added in r27 release.

halshar avatar Jul 05 '22 11:07 halshar

Judging from the direction of the comments here, I think this is no longer an issue - will close. Please reopen if further discussion is required.

joelim-work avatar Sep 04 '23 14:09 joelim-work