diff --git a/config/programs/plover.nix b/config/programs/plover.nix index 5b5f7949..8177d5c6 100644 --- a/config/programs/plover.nix +++ b/config/programs/plover.nix @@ -12,23 +12,11 @@ [ { enabled = true; - path = pkgs.writeText "user.json" (builtins.toJSON { - "SER/TKPWAL" = "Sergal"; - "SERLG" = "Sergal"; - "SER/SRAL" = "serval"; - "SOL/TKER" = "solder"; - "KWREUF" = "yiff"; - "KWR*EUF" = "I didn't have"; - "PWA/TPHA/TPHAS" = "bananas"; - "PWA/TPHA/TPHAZ" = "bananas"; - "HROT/TE" = "Lotte"; - "TPUR/SO/TPHA" = "fursona"; - "TPWH" = "to be honest"; - "TPWH*" = "tbh"; - "PWRU" = "bruh"; - "HROL" = "lol"; - "TEU" = "{^ty}"; - }); + path = "tmpdic.yaml"; + } + { + enabled = true; + path = ../../extras/user.yaml; } ] ++ (map (module: { @@ -57,7 +45,6 @@ "symbols-briefs" "symbols-currency" "tabbing" - "top-10000-project-gutenberg-words" "top-level-domains" # Put these last "condensed-strokes" diff --git a/extra/user.yaml b/extra/user.yaml new file mode 100644 index 00000000..00cbd23d --- /dev/null +++ b/extra/user.yaml @@ -0,0 +1,45 @@ +bananas: + - PWA/TPHA/TPHAS + - PWA/TPHA/TPHAZ +bruh: + - PWRU +fursona: + - TPUR/SO/TPHA +I didn’t have: + - KWR*EUF +lol: + - HROL +Lotte: + - HROT/TE +nonbinary: + - TPWOPB/PWAOEUPB/AER +otherkin: + - OER/KEUPB +Sergal: + - SER/TKPWAL + - SERLG +serval: + - SER/SRAL +solder: + - SOL/TKER +tbh: + - TPWH* +therian: + - THER/KWRAPB +to be honest: + - TPWH +"{^ty}": + - TEU +yiff: + - KWREUF +# Typographically correct strokes +'{^’}': + - AE +'{‘^}': + - A*E +'{^”}': + - KR-GS +'{“^}': + - KW-GS +—: + - TK-RB