docs: fix font instructions for deepin terminal and copy them over to font.md (#2752)

This commit is contained in:
Roman Perepelitsa 2024-09-05 12:37:49 +02:00
parent 00f74aaf75
commit d71edb83f9
2 changed files with 10 additions and 6 deletions

View File

@ -779,15 +779,13 @@ If you are using a different terminal, proceed with manual font installation.
font-style: italic; font-style: italic;
} }
``` ```
- **Deepin Terminal**: Open `~/.config/deepin/deepin-terminal/config.conf` and set `basic.interface.font` to `"MesloLGS NF"`. **_CAVEAT_**: If you open the normal terminal preferences these settings will be overwritten.
- **Deepin Terminal**: Create or open `~/.config/deepin/deepin-terminal/config.conf` and add the following section
to it:
```ini ```ini
[basic.interface.font] [basic.interface.font]
value="MesloLGS NF" value = "MesloLGS NF"
[basic.interface.font_size]
value=10
``` ```
**_CAVEAT_**: If you open the normal terminal preferences these settings will be overwritten.
1. Run `p10k configure` to generate a new `~/.p10k.zsh`. The old config may work 1. Run `p10k configure` to generate a new `~/.p10k.zsh`. The old config may work
incorrectly with the new font. incorrectly with the new font.

View File

@ -160,6 +160,12 @@ If you are using a different terminal, proceed with manual font installation.
} }
``` ```
**_CAVEAT_**: If you open the normal terminal preferences these settings will be overwritten. **_CAVEAT_**: If you open the normal terminal preferences these settings will be overwritten.
- **Deepin Terminal**: Create or open `~/.config/deepin/deepin-terminal/config.conf` and add the following section
to it:
```ini
[basic.interface.font]
value = "MesloLGS NF"
```
1. Run `p10k configure` to generate a new `~/.p10k.zsh`. The old config may work 1. Run `p10k configure` to generate a new `~/.p10k.zsh`. The old config may work
incorrectly with the new font. incorrectly with the new font.