wernight / powerline-web-fonts

Powerline Web Fonts for Chromebook
MIT License
209 stars 53 forks source link
chromebook crosh-window font fonts inconsolata powerline web-fonts woff

powerline-web-fonts

Powerline Web Fonts working in Secure Shell and working also on Chromebook (or pretty much anything running Chrome).

There are several font-family you can choose from (all Powerline-enabled):

See Slant if you don't know which to choose.

Usage example

Usage example for Secure Shell

Usage example for Crosh Window

term_.prefs_.set('font-family', '"Source Code Pro", monospace');
term_.prefs_.set('user-css', 'https://cdn.jsdelivr.net/gh/wernight/powerline-web-fonts@ba4426cb0c0b05eb6cb342c7719776a41e1f2114/PowerlineFonts.css');

If you have Crouton installed on a developer mode Chromebook, or if you're on pretty much any other OS, you can install those fonts locally or copy them locally and it'll work with little to no effort.

Suggesting a new font

To add a new font, you can submit a GitHub pull request through a forked repository. Your pull request should:

Converting to WOFF2

There are various methods, including: