- Notifications
You must be signed in to change notification settings - Fork53
Powerline Web Fonts for Chromebook
License
wernight/powerline-web-fonts
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Powerline Web Fonts working inSecure Shell and working also onChromebook (or pretty much anything running Chrome).
There are severalfont-family
you can choose from (all Powerline-enabled):
Anonymous Pro
-AnonymicePowerlineDejaVu Sans Mono
-DejaVu Sans Mono for PowerlineHack
-Hack WebfontInconsolata
-Inconsolata forPowerlineInconsolata-g
-Inconsolata-g forPowerlineIosevka
-Iosevka WebfontLiberation Mono
-Literation MonoPowerlineMonofur
-monofur forPowerlinePT Mono
- PT Mono for PowerlineSource Code Pro
-Source Code for PowerlineUbuntu Mono
-Ubuntu Mono derivativePowerlineMonofur
-Monofur for Powerline
SeeSlant if you don't know which to choose.
Usage example forSecure Shell
- LaunchSecure Shell and click onOptions(or go to
chrome-extension://pnhechapfaindjhompbnflcldabbghjo/html/nassh_preferences_editor.html
):- Setfont-family:
"Source Code Pro", monospace
- SetCustom CSS (URI):
https://cdn.jsdelivr.net/gh/wernight/powerline-web-fonts@ba4426cb0c0b05eb6cb342c7719776a41e1f2114/PowerlineFonts.css
- Setfont-family:
Usage example forCrosh Window
- Start crosh window then press
Ctrl+Shift+J
and paste in the following:
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 haveCrouton 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 locallyand it'll work with little to no effort.
To add a new font, you can submit a GitHub pull request through a forked repository. Your pull request should:
- Include a new font file inWOFF2 format.
- Add your font to
PowerlineFonts.css
,preview.html
andREADME.md
(might useTransfonter to help with the CSS). - Once merged, send another pull request, I might forget, that updates all
https://cdn.rawgit.com/
in this README to thelatest commit SHA-1. You can do that in the original Pull Request if it gets rebased (merge and sqashes would not work in that case).
There are various methods, including:
UsingFontForge:
#!/usr/bin/env fontforgeOpen($1)Generate($1:r +".woff2")`
About
Powerline Web Fonts for Chromebook
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Contributors10
Uh oh!
There was an error while loading.Please reload this page.