aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlkis Evlogimenos <alkis@evlogimenos.com>2022-07-10 15:29:54 +0300
committerAlkis Evlogimenos <alkis@evlogimenos.com>2022-07-10 15:48:34 +0300
commit9a3c2f48a462cbc56fc5bd0e17e04528bde4783d (patch)
treefd1de803d08ff0449cd6b73f36ecb6adfa205c57
parentcf67cad46557d57d5d2399e6d893c317126e037c (diff)
add Crostini installation instructions
-rw-r--r--README.md37
1 files changed, 37 insertions, 0 deletions
diff --git a/README.md b/README.md
index 8ffd1229..2611a47f 100644
--- a/README.md
+++ b/README.md
@@ -704,6 +704,43 @@ 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](https://chromeos.dev/en/linux)**: Open internal terminal preferences:
+ ```
+ chrome-untrusted://terminal/html/nassh_preferences_editor.html
+ ```
+ Set *Text font family* to:
+ ```text
+ 'Source Code Pro', 'MesloLGS NF', 'Powerline For Source Code Pro', 'Noto Sans Mono'
+ ```
+ and *Custom CSS (inline text)* to:
+ ```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.