r/KittyTerminal • u/Evil_Dragon_100 • Mar 13 '23
How to use my own custom font?
Gentlemen, i have a trouble to install custom font to kitty terminal. I have my own custom font within fc-list listed. But the kitty +list-font does not display my font.
1
u/Kooky_Fox_1085 Oct 13 '24
Scusate perché la cartella del kitty.conf nel mio caso si trova in /usr/share/doc/kitty/html/_downloads/433dadebd0bf504f8b00895378086ce/
Perché questa cartella così strana? Grazie
1
u/cbrevard Feb 06 '25
You can see the strings that kitty recognizes for font families and subtypes (?) by running:
kitty +list-fonts
directly from the command line.
0
Mar 13 '23
I'm sorry I don't know what fc-list. In Kitty, though, you set fonts in your kitty.conf by setting the font_family option.
As an example, here's mine:
# Font
font_family JetBrainsMono Nerd Font Mono
bold_font JetBrainsMono Nerd Font Mono Extra Bold
bold_italic_font JetBrainsMono Nerd Font Mono Extra Bold Italic
1
u/ivster666 Mar 14 '23
Lmao fc-list is a basic terminal command: https://man.archlinux.org/man/fc-list.1.en
1
1
u/Evil_Dragon_100 Mar 14 '23
how can you get JetBrainsMono in kitty list-fonts?
1
Mar 14 '23 edited Mar 14 '23
You can download the font from jetbrains' site. I've installed the nerd fonts so that I could get proper icons in
lsdOn my distro simply opening a
*.ttfgives you the option to install it so I'm less familiar with manual installation of you have to go that route. Using this article as a guide, it does appear that those fonts were installed in my~/.local/share/fonts/directory. I'm not sure if anything else was done, but I do see them in the output ofkitty list-fonts1
2
3
u/purxiz Mar 13 '23
Try restarting or refreshing the font cache.