Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
mshaugh committed Oct 20, 2018
0 parents commit d7e42c4
Show file tree
Hide file tree
Showing 3 changed files with 134 additions and 0 deletions.
88 changes: 88 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@

# Created by https://www.gitignore.io/api/macos,linux,windows,fontforge

### FontForge ###
*.sfd-*
*.sfd~

# No Binaries

*.ttf
*.ttc
*.otf
*.woff
*.pfb
*.pfa
*.pt3
*.suit

### Linux ###
*~

# temporary files which can be created if a process still has a handle open of a deleted file
.fuse_hidden*

# KDE directory preferences
.directory

# Linux trash folder which might appear on any partition or disk
.Trash-*

# .nfs files are created when an open file is removed but is still being accessed
.nfs*

### macOS ###
# General
.DS_Store
.AppleDouble
.LSOverride

# Icon must end with two \r
Icon

# Thumbnails
._*

# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent

# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk

### Windows ###
# Windows thumbnail cache files
Thumbs.db
ehthumbs.db
ehthumbs_vista.db

# Dump file
*.stackdump

# Folder config file
[Dd]esktop.ini

# Recycle Bin used on file shares
$RECYCLE.BIN/

# Windows Installer files
*.cab
*.msi
*.msix
*.msm
*.msp

# Windows shortcuts
*.lnk


# End of https://www.gitignore.io/api/macos,linux,windows,fontforge
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2018 Max Shaughnessy

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
25 changes: 25 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Powerline Webfonts

[Powerline Webfonts](https://github.com/powerline/fonts) for [hterm](https://chromium.googlesource.com/apps/libapps/+/master/hterm).

## Included Fonts

* [DejaVu Sans Mono](https://github.com/powerline/fonts/tree/master/DejaVuSansMono)
* [Inconsolata](https://github.com/powerline/fonts/tree/master/Inconsolata)
* [Inconsolata-g](https://github.com/powerline/fonts/tree/master/Inconsolata-g)
* [Source Code Pro](https://github.com/powerline/fonts/tree/master/SourceCodePro)
* [Ubuntu Mono](https://github.com/powerline/fonts/tree/master/UbuntuMono)

## Usage

### JavaScript

```javascript
term_.prefs_.set('font-family', '"DejaVu Sans Mono", monospace');
term_.prefs_.set('user-css', 'https://mshaugh.github.io/powerline-webfonts/powerline-webfonts.css');
```

### Preferences Editor

* `font-family: "DejaVu Sans Mono", monospace`
* `user-css: https://mshaugh.github.io/powerline-webfonts/powerline-webfonts.css`

0 comments on commit d7e42c4

Please sign in to comment.