rabite0 / hunter

The fastest file manager in the galaxy!
Do What The F*ck You Want To Public License
1.31k stars 64 forks source link

Icons are not displayed correctly #79

Closed snpefk closed 4 years ago

snpefk commented 4 years ago

Hi. Thanks for your work (and beautiful preview in README). I'm experience incorrect display of icons with FuraCode font (from NerdFonts), here is screenshot hunter-icons and the same font in lf lf-icons

rabite0 commented 4 years ago

This looks like the icons are rendered wrong and too big to fit into grid. This is either a configuration problem or a bug in terminal or some other piece of software that handles font rendering. Maybe even a bug in the font itself.

That said, I could add a workaround for this. The way it looks lf draws a space after the icon, whereas hunter doesn't (I did this to leave more space for the file name).

rabite0 commented 4 years ago

84d7773: add option to separate icon and file name with a space Done, You can now set an option icons_space=on in ~/.config/hunter/config and it will put a space between the icon and the file name. I like the "condensed" look, but some might prefer the space. I've been thinking about adding this, but so far no one complained ;).

snpefk commented 4 years ago

Cool, works as expected. Thanks!