39aldo39 / klfc

Keyboard Layout Files Creator
GNU General Public License v3.0
216 stars 12 forks source link

Where to put mods? #2

Closed noctuid closed 7 years ago

noctuid commented 7 years ago

If I add a permutation to my file, i get an error when running klfc --from-json .colemak-DH-custom.json --xkb xkb: klfc: parse fail in .colemak-DH-custom.json: Error in $: unknown key ‘permutation’. I've tried putting the default permutation right after name and I get the same error:

...
    "name": "colemak_dh_custom",
    "permutation": [
        [ "Y", "U", "I", "O", "P", "[" ],
        [ "H", "J", "K", "L", ";", "'" ],
        [ "N", "M", ",", ".", "/", "]" ],
        [ "]", "'", "\\" ]
    ],
...

It works fine if I remove the permutation. This happens even with the example colemak file, so it's not a problem with my specific configuration. I installed manually with cabal if it matters.

noctuid commented 7 years ago

My bad, I figured out the syntax; should have read the documentation closer before making an issue.