ob-vaults/Phoenix/Note books/terminal/font mangment/font.md
2024-09-12 17:54:01 +03:30

26 lines
854 B
Markdown
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

## add nerd font
1- download font of choice from `nerd font` [download page](https://www.nerdfonts.com/font-downloads)
2-copy font files to $HOME/.local/share/fonts or install with double click
3- check if font is installed
``` bash
fc-list | grep -i "name of font"
```
### change kitty font
1- see how write font family in config (use mono one)
```bash
kitty +list-fonts --psnames
```
2-open the config file within kitty by pressing ctrl+shift+f2 (⌘+, on macOS). A kitty.conf with commented default configurations and descriptions will be created if the file does not exist
* config adress {~/.config/kitty/kitty.conf}
3- change font family in font section
```conf
font_family font name from section 1
bold_font auto
italic_font auto
bold_italic_font auto
```
4- vertify changed font with
```bash
kitty --debug-font-fallback
```