romkatv / powerlevel10k

A Zsh theme
MIT License
46.78k stars 2.2k forks source link

Icons not in good padding and stay close to directories #1433

Closed Henry-Ta closed 3 years ago

Henry-Ta commented 3 years ago

Please see my photo below for more details.

The icons not stay in the middle of space but slightly close to the right. I'm using "Cascadia Code" on kitty. Please guide me how to fix this.

Screenshot_2021-06-02_11-10-00

romkatv commented 3 years ago

That's an issue with the font you are using. If you don't like it, file a bug against the font.

The recommended font doesn't have this issue.

John-Gee commented 1 year ago

I have the same issue using the recommended font in Konsole.

Padding set to none:

image

Padding set to moderate: image

How can all spacing around the icons be removed, and maybe after the sharp ends too? Thanks!

romkatv commented 1 year ago

This is not the recommended font. Try the recommended font instead.

John-Gee commented 1 year ago

Wow thanks for the quick reply, but that's all I see when installing the fonts from https://github.com/romkatv/powerlevel10k#meslo-nerd-font-patched-for-powerlevel10k .

fc-list |  rg -i meslo
/usr/share/fonts/TTF/MesloLGS-NF-Bold-Italic.ttf: MesloLGS NF:style=Bold Italic
/usr/share/fonts/TTF/MesloLGS-NF-Italic.ttf: MesloLGS NF:style=Italic
/usr/share/fonts/TTF/MesloLGS-NF-Regular.ttf: MesloLGS NF:style=Regular
/usr/share/fonts/TTF/MesloLGS-NF-Bold.ttf: MesloLGS NF:style=Bold
pacman -Ql ttf-meslo-nerd-font-powerlevel10k
ttf-meslo-nerd-font-powerlevel10k /usr/
ttf-meslo-nerd-font-powerlevel10k /usr/share/
ttf-meslo-nerd-font-powerlevel10k /usr/share/fonts/
ttf-meslo-nerd-font-powerlevel10k /usr/share/fonts/TTF/
ttf-meslo-nerd-font-powerlevel10k /usr/share/fonts/TTF/MesloLGS-NF-Bold-Italic.ttf
ttf-meslo-nerd-font-powerlevel10k /usr/share/fonts/TTF/MesloLGS-NF-Bold.ttf
ttf-meslo-nerd-font-powerlevel10k /usr/share/fonts/TTF/MesloLGS-NF-Italic.ttf
ttf-meslo-nerd-font-powerlevel10k /usr/share/fonts/TTF/MesloLGS-NF-Regular.ttf

(I used the PKGBUILD from AUR but made sure to grab the files manually, though they were a match.) Or is Konsole not showing me the right font? Because it is not showing me any iosevka so it's clearly possible that those are missing too.

Thank you!

edit: yup setting them as you instructed in WezTerm works fine, I guess something is wrong with (my) Konsole. Sorry about the false alarm.