yorukot / superfile

Pretty fancy and modern terminal file manager
https://superfile.netlify.app
MIT License
5.7k stars 126 forks source link

Icon (Nerdfont) is not displayed properly. #112

Closed moffat closed 4 months ago

moffat commented 4 months ago

Describe the bug spf does not show any folder/file icons (except for the "Music" folder)

To Reproduce Steps to reproduce the behavior:

  1. Open spf
  2. Expected behavior

Screenshots

CleanShot 2024-05-10 at 21 50 51@2x

System information (please complete the following information):

yorukot commented 4 months ago

So basically this is because of the font. Have you installed nerdfont?

moffat commented 4 months ago

Yeah thanks I thought I had installed a need font but hadn't set up my terminal properly. Closed now! Thanks for all your work.

poul-kg commented 4 months ago

@yorukot How to install nerd font? I mean I know how to install it once you have it, but when I go to nerdfont and click download, there is a huge list of fonts. Which one?

Could it be included in the repo maybe?

Can I use JetbrainsMonoNerdFont?

I've installed JetBrainsMonoNerdFont-Regular.ttf closed all terminals, launched spf but still no icons in Warp terminal. And weird question marks instead of icons in the standard Mac Terminal app.

yorukot commented 4 months ago

You can choose whatever font you like! As for including in repo, I don't really think it's necessary.

Did you properly setup the nerdfont in your terminal? Maybe settings in your warp terminal or something.

poul-kg commented 4 months ago

I've found this code in the repo

Set FontFamily "Comic Mono, RobotoMono Nerd Font"

so I've tried brew install --cask font-roboto-mono-nerd-font font was installed in the system, but spf does not show any icons.

Also installed https://dtinth.github.io/comic-mono-font/

doesn't work. Is there anything I need to do to install it in the terminal? Never done this before, I thought installing it system wide was enough. @yorukot

poul-kg commented 4 months ago

Ok I found it, I need to go to Terminal app settings and change the font there. image