8000 GitHub - Lillecarl/fontastic
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Lillecarl/fontastic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Hack Nerd Font for ChromeOS hterm

How to use

  1. Open hterm and press Ctrl+Shift+J to open the developer console for your terminal
  2. Paste the following JavaScript into the console
term_.prefs_.set(
  "user-css",
  "https://cdn.jsdelivr.net/gh/Lillecarl/fontastic@main/style.css",
);
term_.prefs_.set("font-family", '"hack", monospace');
  1. Profit

How to make this yourself

  1. Create a GitHub repo and clone it to your developer environment
  2. Install woff2 tools in your developer environment (nix shell nixpkgs#woff2 works)
  3. Go to NerdFonts.com and copy the download URL for your favorite font.
  4. Download the font into your repository
  5. Run woff2_compress on the font variant you want to use (probably regular)
  6. Create a css file like the one in this repo
  7. Commit your woff2 file and your css file, push
  8. Browse to your stylesheet on github.com, copy the link into https://www.jsdelivr.com/GitHub
  9. Use the jsdelivr link in term_.prefs_.set("user-css", "url");

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0