1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-11-11 00:00:06 +00:00

docs: clean up font instructions for xterm and copy them to README.md

This commit is contained in:
Roman Perepelitsa 2022-01-13 10:08:21 +01:00
parent c4d3ab0ae0
commit b8ddcd4c17
2 changed files with 16 additions and 12 deletions

View file

@ -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. 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. Also add the first line if it is not already present.
- **urxvt**: Create or open `~/.Xresources` and add the following line to it: - **urxvt**: Create or open `~/.Xresources` and add the following line to it:
```text ```text
URxvt.font: xft:MesloLGS NF:size=11 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. You can adjust the font size to your preference. After changing the config run
The new config is applied for all new terminals. `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 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.

12
font.md
View file

@ -109,16 +109,14 @@ If you are using a different terminal, proceed with manual font installation.
```text ```text
URxvt.font: xft:MesloLGS NF:size=11 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. You can adjust the font size to your preference. After changing the config run
The new config is applied for all new terminals. `xrdb ~/.Xresources` to reload it. The new config is applied to all new terminals.
- **xterm**: Create or open `~/.Xresources` and add the following two lines to it: - **xterm**: Create or open `~/.Xresources` and add the following line to it:
```text ```text
xterm*faceName: MesloLGS NF 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. After changing the config run `xrdb ~/.Xresources` to reload it. The new config is applied to
The new config is applied for all new terminals. all new terminals.
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.