mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-12-21 23:01:57 +00:00
better font instructions
This commit is contained in:
parent
40523128dc
commit
4c4402bfe4
1 changed files with 15 additions and 14 deletions
29
README.md
29
README.md
|
@ -99,29 +99,30 @@ features Powerlevel10k has to offer.
|
|||
## Fonts
|
||||
|
||||
Powerlevel10k doesn't require custom fonts but it can take advantage of them if they are available.
|
||||
Some of the style options in Powerlevel10k are available only when using
|
||||
It works well with [Nerd Fonts](https://github.com/ryanoasis/nerd-fonts),
|
||||
[Source Code Pro](https://github.com/adobe-fonts/source-code-pro),
|
||||
[Font Awesome](https://fontawesome.com/), [Powerline](https://github.com/powerline/fonts), and even
|
||||
the default system fonts. The full choice of style options is available only when using
|
||||
[Nerd Fonts](https://github.com/ryanoasis/nerd-fonts).
|
||||
|
||||
If you don't know which font to use, download
|
||||
[these 4 fonts](https://github.com/romkatv/dotfiles-public/tree/master/.local/share/fonts/NerdFonts)
|
||||
and install them. In most systems you can install fonts simply by clicking on the `ttf` files. Then
|
||||
change your terminal's font to `MesloLGS NF` (NF stands for Nerd Fonts).
|
||||
|
||||
- **iTerm2**: Open *Preferences → Profiles → Text → Change Font*. Set *Font* to `MesloLGS NF`.
|
||||
- **GNOME**: Type this command:
|
||||
Overwhelmed? Try the beautiful and powerful Meslo from Nerd Fonts. Download these
|
||||
[four ttf files](https://github.com/romkatv/dotfiles-public/tree/master/.local/share/fonts/NerdFonts),
|
||||
double-click on each and press "Install". This will make `MesloLGS NF` font available to all
|
||||
applications on your system. Configure your terminal to use `MesloLGS NF`:
|
||||
|
||||
- **iTerm2**: Open *iTerm2 → Preferences → Profiles → Text → Change Font* and set *Family* to `MesloLGS NF`.
|
||||
- **Visual Studio Code**: Open *File → Preferences → Settings*, enter
|
||||
`terminal.integrated.fontFamily` in the search box and set value to `MesloLGS NF`.
|
||||
- **Windows Command Prompt**: Use
|
||||
[this script](https://gist.github.com/romkatv/aa7a70fe656d8b655e3c324eb10f6a8b).
|
||||
- **Linux/GNOME** (all terminals): Type this command:
|
||||
```zsh
|
||||
sudo apt install libglib2.0-bin
|
||||
gsettings set org.gnome.desktop.interface monospace-font-name 'MesloLGS NF 11'
|
||||
```
|
||||
|
||||
- **Windows Command Prompt** (the default terminal app): Use
|
||||
[this script](https://gist.github.com/romkatv/aa7a70fe656d8b655e3c324eb10f6a8b).
|
||||
- **Visual Studio Code** (builtin terminal): Open *File → Preferences → Settings*, enter
|
||||
`terminal.integrated.fontFamily` in the search box and set the value to `MesloLGS NF`.
|
||||
|
||||
(Using a different terminal and know how to set font for it? Share your knowledge by sending a PR
|
||||
expanding the list!)
|
||||
to expand the list!)
|
||||
|
||||
## Try it in Docker
|
||||
|
||||
|
|
Loading…
Reference in a new issue