Skip to content

Instantly share code, notes, and snippets.

View precondition's full-sized avatar

precondition

View GitHub Profile
@hjklapp
hjklapp / kleDuplicator.py
Last active April 13, 2022 08:52
Duplicate a keyboard layout in the keyboard-layout-editor
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import demjson
# Design the base layer in http://www.keyboard-layout-editor.com
# and copy the "json" from the raw data tab in KLE and save to file.
# This is NOT using the real json from KLE's "Export to json" feature.
# Paste the output of this program into the same raw data tab.
FILEPATH = "kyriaBase.json"