diff options
author | Roman Perepelitsa <roman.perepelitsa@gmail.com> | 2022-07-11 11:00:20 +0300 |
---|---|---|
committer | Roman Perepelitsa <roman.perepelitsa@gmail.com> | 2022-07-11 11:00:20 +0300 |
commit | 487a388dbd50b18dd794cffbed0f78b01d4cc01b (patch) | |
tree | 059f662ba5ab8380433b7c8b24eb918f4cdc9bde /font.md | |
parent | c1c827e21d0a1d2d3e953e279f36ac769caa34fa (diff) |
make crostini font instructions stylistically similar to the rest and copy them over to font.md (#1934)
Diffstat (limited to 'font.md')
-rw-r--r-- | font.md | 30 |
1 files changed, 30 insertions, 0 deletions
@@ -117,6 +117,36 @@ If you are using a different terminal, proceed with manual font installation. ``` After changing the config run `xrdb ~/.Xresources` to reload it. The new config is applied to all new terminals. + - Crostini (Linux on Chrome OS): Open [internal terminal preferences]( + chrome-untrusted://terminal/html/nassh_preferences_editor.html), set *Text font family* to + `'MesloLGS NF'` and *Custom CSS (inline text)* to the following: + ```css + @font-face { + font-family: "MesloLGS NF"; + src: url("https://raw.githubusercontent.com/romkatv/powerlevel10k-media/master/MesloLGS%20NF%20Regular.ttf"); + font-weight: normal; + font-style: normal; + } + @font-face { + font-family: "MesloLGS NF"; + src: url("https://raw.githubusercontent.com/romkatv/powerlevel10k-media/master/MesloLGS%20NF%20Bold.ttf"); + font-weight: bold; + font-style: normal; + } + @font-face { + font-family: "MesloLGS NF"; + src: url("https://raw.githubusercontent.com/romkatv/powerlevel10k-media/master/MesloLGS%20NF%20Italic.ttf"); + font-weight: normal; + font-style: italic; + } + @font-face { + font-family: "MesloLGS NF"; + src: url("https://raw.githubusercontent.com/romkatv/powerlevel10k-media/master/MesloLGS%20NF%20Bold%20Italic.ttf"); + font-weight: bold; + font-style: italic; + } + ``` + **_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. |