aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoman Perepelitsa <roman.perepelitsa@gmail.com>2022-01-13 12:08:21 +0300
committerRoman Perepelitsa <roman.perepelitsa@gmail.com>2022-01-13 12:08:21 +0300
commitb8ddcd4c17c650c49087b6993383e865206b7212 (patch)
tree368f92bf0b21657ec3242b8ab32d793640960e35
parentc4d3ab0ae06cdb306c2d60ea1fdb3bb4e295cd68 (diff)
docs: clean up font instructions for xterm and copy them to README.md
-rw-r--r--README.md16
-rw-r--r--font.md12
2 files changed, 16 insertions, 12 deletions
diff --git a/README.md b/README.md
index 2ab2591b..a742e7f7 100644
--- a/README.md
+++ b/README.md
@@ -675,11 +675,17 @@ If you are using a different terminal, proceed with manual font installation.
If the file already exists, only add the line with the font to the existing return.
Also add the first line if it is not already present.
- **urxvt**: Create or open `~/.Xresources` and add the following line to it:
- ```text
- URxvt.font: xft:MesloLGS NF:size=11
- ```
- You can adjust the font size to your preference. After changing the configuration use `xrdb ~/.Xresources` to reload the config.
- The new config is applied for all new terminals.
+ ```text
+ URxvt.font: xft:MesloLGS NF:size=11
+ ```
+ You can adjust the font size to your preference. After changing the config run
+ `xrdb ~/.Xresources` to reload it. The new config is applied to all new terminals.
+ - **xterm**: Create or open `~/.Xresources` and add the following line to it:
+ ```text
+ xterm*faceName: MesloLGS NF
+ ```
+ After changing the config run `xrdb ~/.Xresources` to reload it. The new config is applied to
+ all new terminals.
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 abc0eae0..964585a9 100644
--- a/font.md
+++ b/font.md
@@ -109,16 +109,14 @@ If you are using a different terminal, proceed with manual font installation.
```text
URxvt.font: xft:MesloLGS NF:size=11
```
- You can adjust the font size to your preference. After changing the configuration use `xrdb ~/.Xresources` to reload the config.
- The new config is applied for all new terminals.
- - **xterm**: Create or open `~/.Xresources` and add the following two lines to it:
+ You can adjust the font size to your preference. After changing the config run
+ `xrdb ~/.Xresources` to reload it. The new config is applied to all new terminals.
+ - **xterm**: Create or open `~/.Xresources` and add the following line to it:
```text
xterm*faceName: MesloLGS NF
- xterm*faceSize: 11
```
- You can adjust the font size to your preference. After changing the configuration use `xrdb ~/.Xresources` to reload the config.
- The new config is applied for all new terminals.
-
+ After changing the config run `xrdb ~/.Xresources` to reload it. The new config is applied to
+ all new terminals.
1. Run `p10k configure` to generate a new `~/.p10k.zsh`. The old config may work
incorrectly with the new font.