Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# .macoscompose | ||
|
||
this lets you write compose key config in a simple yaml-like format. | ||
|
||
the setup is just like that on | ||
[gnarf's osx-compose-key repo](https://github.com/gnarf/osx-compose-key) except | ||
you don't need to download or install it, instead you can make a `.macoscompose` | ||
file in your `$HOME` and populate it in a manner similar to this: | ||
|
||
```yaml | ||
+1: 👍 | ||
-1: 👎 | ||
|
||
# hearts | ||
heart: ❤ | ||
"yellow heart": 💛 | ||
|
||
dog: 🐶 | ||
"(:": ������ | ||
``` | ||
|
||
then run `node .` in this directory (once you've `npm install`'d) and restart | ||
the apps you want to use compose key in. | ||
|
||
## something like this: | ||
|
||
```sh | ||
git clone https://gitlab.com/chee/macoscompose | ||
cd macoscompose | ||
cp example.macoscompose ~/.macoscompose | ||
npm install | ||
node . | ||
``` | ||
|
||
## todo | ||
|
||
* add more entries to the example | ||
* fill out the rest of the todo section |