diff options
Diffstat (limited to 'src/config')
| -rw-r--r-- | src/config/defaults.ts | 4 | ||||
| -rw-r--r-- | src/config/index.ts | 1 | ||||
| -rw-r--r-- | src/config/types.ts | 2 |
3 files changed, 7 insertions, 0 deletions
diff --git a/src/config/defaults.ts b/src/config/defaults.ts index d699a45..b6bee4f 100644 --- a/src/config/defaults.ts +++ b/src/config/defaults.ts @@ -143,4 +143,8 @@ export default { }, ], }, + calendar: { + webcals: [] as string[], // An array of urls to ICS files which you can curl + upcomingDays: 7, // Number of days which count as upcoming + }, }; diff --git a/src/config/index.ts b/src/config/index.ts index d09a668..3f9bf7a 100644 --- a/src/config/index.ts +++ b/src/config/index.ts @@ -18,5 +18,6 @@ export const { memory, storage, wallpapers, + calendar, } = config; export default config; diff --git a/src/config/types.ts b/src/config/types.ts index aa0d921..cf828b6 100644 --- a/src/config/types.ts +++ b/src/config/types.ts @@ -68,4 +68,6 @@ export default { "memory.interval": NUM, "storage.interval": NUM, "wallpapers.paths": OBJ_ARR({ recursive: BOOL, path: STR }), + "calendar.webcals": ARR(STR), + "calendar.upcomingDays": NUM, } as { [k: string]: string | string[] | number[] }; |