Skip to content

Commit

Permalink
Add LAYOUT_FOLDER env param for my-macros
Browse files Browse the repository at this point in the history
  • Loading branch information
Phoscur committed Jan 23, 2022
1 parent 16d1e00 commit 32c1863
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion my-macros.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import { newMacro, processAll } from "./macros";

// Point this at wherever your config root folder is
const SOURCE_DIR = "./layout_src/moonlander_neophil-autobahn-fueled-wip_source/keymap.c";
const LAYOUT = process.env.LAYOUT_FOLDER || 'moonlander_neophumb_source'
const SOURCE_DIR = `./layout_src/${LAYOUT}/keymap.c`;

const macroExtensions = {

Expand Down

0 comments on commit 32c1863

Please sign in to comment.