You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
7 years ago | |
|---|---|---|
| Fork-Awesome@285008117b | 7 years ago | |
| output | 7 years ago | |
| patcher | 7 years ago | |
| .gitignore | 7 years ago | |
| .gitmodules | 7 years ago | |
| README.md | 7 years ago | |
| build.sh | 7 years ago | |
| install.sh | 7 years ago | |
| package-lock.json | 7 years ago | |
| package.json | 7 years ago | |
| screenshot.png | 7 years ago | |
README.md
Fork-Awesome customizer
This is a little hack that lets you generate custom Fork-Awesome builds with only a subset of icons.
Dependencies
Mostly dependencies of the Fork-Awesome project:
ruby,bundle(package may be namedruby-bundler)node,npmbash,make,sed,head,cat,git
How to use it
- Make sure you cloned this repository recursively, i.e. the
Fork-Awesome/folder is not empty.- You can fix that by running
git submodule initandgit submodule update
- You can fix that by running
- Run
./install.sh. This should prepare the FA submodule for building the font. - Verify that files
wanted.all.ini,wanted.none.ini,fontcustom.ymlandfontcustom.default.ymlhave been created.- You can update Fork-Awesome and these files at any time by running
./install.shagain.
- You can update Fork-Awesome and these files at any time by running
- Copy either of the "wanted" templates to
wanted.ini, and customize it as needed.- Lines starting with
#will be excluded. - The INI suffix is used only to make editors highlight it nicely, it's not really an INI file
- You can even use a blank text file and just add the icons you want, with coments on
#lines - Use the FA icons page for reference.
- Lines starting with
- Adjust
fontconfig.ymlif you wish to give your custom font a different name, or change the class prefix. - Run
./build.shto build your customized font. - Retrieve your output files from the
output/directory.
The screenshot shown above was built with the following wanted.ini:
fork-awesome
thumbs-up
and some changes in fontcustom.yml:
font_name: TinyFork
css_selector: .lfa-{{glyph}}
--- EOF ---
