diff options
author | Thomas F. K. Jorna <[email protected]> | 2022-01-03 17:21:18 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2022-01-03 17:21:18 +0100 |
commit | dad03e3be5b0a7c1159e0207cce11540ca830359 (patch) | |
tree | 4ae4e0a40c578e12b6d4f11a3f785c8190865f8b /util | |
parent | 9ed0c5705a302a91fab2b8bcc777a12dcf9b3682 (diff) |
feat(filter): add option to filter by subdirectory (#190)
Diffstat (limited to 'util')
-rw-r--r-- | util/variablesContext.tsx | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/util/variablesContext.tsx b/util/variablesContext.tsx new file mode 100644 index 0000000..5fd34b8 --- /dev/null +++ b/util/variablesContext.tsx @@ -0,0 +1,12 @@ +import { createContext } from 'react' +import { EmacsVariables } from '../pages' + +type Theme = [name: string, themeObject: { [color: string]: string }] + +const VariablesContext = createContext<EmacsVariables>({ + subDirs: ['dailies', '.attach'], + attachDir: '.attach', + roamDir: '~/org', + dailyDir: 'dailies', +}) +export { VariablesContext } |