Skip to content

Commit

Permalink
ref json
Browse files Browse the repository at this point in the history
  • Loading branch information
yuanwang-wf committed Jan 3, 2024
1 parent d69e8ab commit 0fa58d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
${pkgs.qmk}/bin/qmk flash ${config.packages.firmware}/share/bastardkb_charybdis_3x5_v2_splinky_3_yuanw.uf2
'';
packages.draw = pkgs.writeScriptBin "reiryoku-draw" ''
${config.packages.drawer}/bin/keymap parse -c 10 -q reiryoku.json > reiryoku.yaml
${config.packages.drawer}/bin/keymap parse -c 10 -q ${config.packages.firmware}/share/reiryoku.json > reiryoku.yaml
sed -i -E "s/LAYOUT_charybdis_3x5/LAYOUT/g" reiryoku.yaml
${config.packages.drawer}/bin/keymap draw reiryoku.yaml > reiryoku.svg
'';
Expand Down

0 comments on commit 0fa58d9

Please sign in to comment.