diff options
Diffstat (limited to '')
-rw-r--r-- | config.scm | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/config.scm b/config.scm new file mode 100644 index 00000000..3c6ebbb0 --- /dev/null +++ b/config.scm @@ -0,0 +1,12 @@ +;;; Preliminary config file for the system. +;;; Currently loaded by main, and requires that `calendar-files` +;;; is set to a list of files (or directories). + + +(use-modules (srfi srfi-26) + (ice-9 ftw)) + +(define calendar-files + (let ((path (string-append (getenv "HOME") "/.calendars/"))) + (map (cut string-append path <>) + (scandir path (lambda (str) (not (char=? #\. (string-ref str 0)))))))) |