add and use stenotype-extended

This commit is contained in:
Charlotte 🦝 Delenk 2023-07-12 07:26:00 +01:00
parent d354a584c9
commit 0d432b1aa4
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122
5 changed files with 7 additions and 46 deletions

View file

@ -31,11 +31,11 @@
}
{
enabled = true;
path = "${emily-modifiers}/emily-modifiers.py";
path = ../../extra/emily-modifiers.json;
}
{
enabled = true;
path = "${emily-symbols}/emily-symbols.py";
path = ../../extra/emily-symbols.json;
}
]
++ (map (module: {
@ -60,11 +60,12 @@
]);
plover-cfg = pkgs.writeText "plover.cfg" (lib.generators.toINI {} {
"Machine Configuration".machine_type = "Plover HID";
"System: English Stenotype" = {
"System: Stenotype Extended" = {
dictionaries = builtins.toJSON plover-dictionaries-english;
"keymap[plover hid]" = ''[["#", ["X3", "X4", "X5", "X6", "X7", "X8", "X37", "X38", "X43", "X44", "X45", "X46", "X47", "X48", "X77", "X78"]], ["S-", ["X15", "X23"]], ["T-", ["X14"]], ["K-", ["X22"]], ["P-", ["X13"]], ["W-", ["X21"]], ["H-", ["X12"]], ["R-", ["X20"]], ["A-", ["X36"]], ["O-", ["X35"]], ["*", ["X11", "X19", "X56", "X64"]], ["-E", ["X80"]], ["-U", ["X79"]], ["-F", ["X55"]], ["-R", ["X63"]], ["-P", ["X54"]], ["-B", ["X62"]], ["-L", ["X53"]], ["-G", ["X61"]], ["-T", ["X52"]], ["-S", ["X60"]], ["-D", ["X51"]], ["-Z", ["X59"]], ["no-op", ["X1", "X2", "X9", "X10", "X16", "X17", "X18", "X24", "X25", "X26", "X27", "X28", "X29", "X30", "X31", "X32", "X33", "X34", "X39", "X40", "X41", "X42", "X49", "X50", "X57", "X58", "X65", "X66", "X67", "X68", "X69", "X70", "X71", "X72", "X73", "X74", "X75", "X76"]]]'';
"keymap[plover hid]" = ''[["#", ["X3", "X4", "X5", "X6", "X7", "X8", "X43", "X44", "X45", "X46", "X47", "X48"]], ["^-", ["X24", "X37", "X38", "X77", "X78"]], ["+-", ["X16"]], ["S-", ["X15", "X23"]], ["T-", ["X14"]], ["K-", ["X22"]], ["P-", ["X13"]], ["W-", ["X21"]], ["H-", ["X12"]], ["R-", ["X20"]], ["A-", ["X36"]], ["O-", ["X35"]], ["*", ["X11", "X19", "X56", "X64"]], ["-E", ["X80"]], ["-U", ["X79"]], ["-F", ["X55"]], ["-R", ["X63"]], ["-P", ["X54"]], ["-B", ["X62"]], ["-L", ["X53"]], ["-G", ["X61"]], ["-T", ["X52"]], ["-S", ["X60"]], ["-D", ["X51"]], ["-Z", ["X59"]], ["no-op", ["X1", "X2", "X9", "X10", "X17", "X18", "X25", "X26", "X27", "X28", "X29", "X30", "X31", "X32", "X33", "X34", "X39", "X40", "X41", "X42", "X49", "X50", "X57", "X58", "X65", "X66", "X67", "X68", "X69", "X70", "X71", "X72", "X73", "X74", "X75", "X76"]]]'';
};
Plugins.enabled_extensions = builtins.toJSON ["RKB Unicode Sender" "plover_tapey_tape"];
System.name = "Stenotype Extended";
});
in {
home.packages = [

File diff suppressed because one or more lines are too long

1
extra/emily-symbols.json Normal file

File diff suppressed because one or more lines are too long

View file

@ -528,38 +528,6 @@
"type": "github"
}
},
"emily-modifiers": {
"flake": false,
"locked": {
"lastModified": 1627979543,
"narHash": "sha256-6fd7JMNvFLEljLGf35pj/e06WqNAT+qIHsOb90ZL+m0=",
"owner": "EPLHREU",
"repo": "emily-modifiers",
"rev": "0dae8085c2cbcb30e4dc0a44e74354acf7978d06",
"type": "github"
},
"original": {
"owner": "EPLHREU",
"repo": "emily-modifiers",
"type": "github"
}
},
"emily-symbols": {
"flake": false,
"locked": {
"lastModified": 1630434755,
"narHash": "sha256-cGVWcBerMu9B88liHte3fOcUDa3TZQIdVgcdUIbWGEc=",
"owner": "EPLHREU",
"repo": "emily-symbols",
"rev": "4935106154855a08a65186b01d19d8e19bded8fe",
"type": "github"
},
"original": {
"owner": "EPLHREU",
"repo": "emily-symbols",
"type": "github"
}
},
"flake-compat": {
"flake": false,
"locked": {
@ -1506,8 +1474,6 @@
"crane": "crane",
"dns": "dns",
"emanote": "emanote",
"emily-modifiers": "emily-modifiers",
"emily-symbols": "emily-symbols",
"flake-parts": "flake-parts",
"flake-utils": "flake-utils",
"haskell-flake": "haskell-flake",

View file

@ -47,14 +47,6 @@ rec {
inputs.haskell-flake.follows = "haskell-flake";
inputs.nixpkgs.follows = "nixpkgs";
};
emily-modifiers = {
url = "github:EPLHREU/emily-modifiers";
flake = false;
};
emily-symbols = {
url = "github:EPLHREU/emily-symbols";
flake = false;
};
flake-parts = {
url = "github:hercules-ci/flake-parts";
inputs.nixpkgs-lib.follows = "nixpkgs";