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

Add MesloLGS font config steps for Alacritty (#929)

* Add MesloLGS font config steps for Alacritty

* Adding Alacritty font config changes

Shortened steps and included official doc.

* Simplified and updated Alacritty font config steps

Required YAML included in full. Quotes added to font family due to space in family name. Unnecessary detail has been removed.

* Reduced the required Alacritty font config YAML

Removed additional styles from the "MesloLGS NF" family, they are implied and not necessary to include.
This commit is contained in:
Stephen 2020-08-08 15:50:04 -06:00 committed by GitHub
parent c48b81ecb7
commit d5d6ee11ff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -556,6 +556,13 @@ applications on your system. Configure your terminal to use this font:
- **Guake**: Right Click on an open terminal and open *Preferences*. Under *Appearance* - **Guake**: Right Click on an open terminal and open *Preferences*. Under *Appearance*
tab, uncheck *Use the system fixed width font* (if not already) and select `MesloLGS NF Regular`. tab, uncheck *Use the system fixed width font* (if not already) and select `MesloLGS NF Regular`.
Exit the Preferences dialog by clicking *Close*. Exit the Preferences dialog by clicking *Close*.
- **Alacritty**: Edit or create `~/.config/alacritty/alacritty.yml`. Append the `font` section below:
```yaml
font:
normal:
family: "MesloLGS NF"
```
**IMPORTANT:** Run `p10k configure` after changing terminal font. The old `~/.p10k.zsh` may work **IMPORTANT:** Run `p10k configure` after changing terminal font. The old `~/.p10k.zsh` may work
incorrectly with the new font. incorrectly with the new font.