From d71edb83f9c7f045a0d528eeff3445ec3d518d71 Mon Sep 17 00:00:00 2001 From: Roman Perepelitsa Date: Thu, 5 Sep 2024 12:37:49 +0200 Subject: [PATCH] docs: fix font instructions for deepin terminal and copy them over to font.md (#2752) --- README.md | 10 ++++------ font.md | 6 ++++++ 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 0f2cc6bf..3c255207 100644 --- a/README.md +++ b/README.md @@ -779,15 +779,13 @@ If you are using a different terminal, proceed with manual font installation. 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 [basic.interface.font] - value="MesloLGS NF" - - [basic.interface.font_size] - value=10 + value = "MesloLGS NF" ``` - **_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 incorrectly with the new font. diff --git a/font.md b/font.md index 7a7cb005..7f0f0572 100644 --- a/font.md +++ b/font.md @@ -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. + - **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 incorrectly with the new font.