From 91dfceda49bf20f1d91fd9f2a60ecd8225bec9f0 Mon Sep 17 00:00:00 2001 From: Oscar Najera Date: Mon, 12 Feb 2024 14:35:24 +0100 Subject: move calendars config --- calendars.conf | 14 -------------- config/calendars.conf | 14 ++++++++++++++ install.scm | 6 +++--- 3 files changed, 17 insertions(+), 17 deletions(-) delete mode 100644 calendars.conf create mode 100644 config/calendars.conf diff --git a/calendars.conf b/calendars.conf deleted file mode 100644 index f09945f..0000000 --- a/calendars.conf +++ /dev/null @@ -1,14 +0,0 @@ -[DEFAULT] -ahead=90 -back=28 - -[catalyst] -url=https://calendar.google.com/calendar/ical/c_jvsrkmkigu6ibgkmk5dr86bd7g@group.calendar.google.com/public/{}.ics -calendars = basic - -[personal] -user = oscar -passwordstore=CS_storage/cloud.oscarnajera.com/oscar -url=https://cloud.oscarnajera.com/remote.php/dav/calendars/oscar/{}?export -calendars = habitual personal-1 - diff --git a/config/calendars.conf b/config/calendars.conf new file mode 100644 index 0000000..f09945f --- /dev/null +++ b/config/calendars.conf @@ -0,0 +1,14 @@ +[DEFAULT] +ahead=90 +back=28 + +[catalyst] +url=https://calendar.google.com/calendar/ical/c_jvsrkmkigu6ibgkmk5dr86bd7g@group.calendar.google.com/public/{}.ics +calendars = basic + +[personal] +user = oscar +passwordstore=CS_storage/cloud.oscarnajera.com/oscar +url=https://cloud.oscarnajera.com/remote.php/dav/calendars/oscar/{}?export +calendars = habitual personal-1 + diff --git a/install.scm b/install.scm index c9e60ec..acabf6e 100755 --- a/install.scm +++ b/install.scm @@ -4,6 +4,7 @@ (use-modules (ice-9 and-let-star) + (ice-9 format) (ice-9 ftw) (ice-9 match) (ice-9 popen) @@ -168,8 +169,8 @@ file-name)) (define (format-config-entry item) - (format #t "[~a]~%" (car item)) - (format #t "~:{~a=~@{~a~^;~}~%~}~%" (cdr item))) + (format #t "[~a]~%" (car item)) + (format #t "~:{~a=~@{~a~^;~}~%~}~%" (cdr item))) (define (mail-config) (log-msg 'INFO "Configuring mail") @@ -212,7 +213,6 @@ (define (main args) (setup-logging) (log-msg 'INFO "Symlink PIM") - (config-links "calendars.conf" "~/.calendars.conf" #f) (symlink-tree "home-dots" "~/") (config-links "gnupg/gpg.conf" "~/.gnupg/gpg.conf" #f) (config-links "gnupg/gpg-agent.conf" "~/.gnupg/gpg-agent.conf" #f) -- cgit v1.2.3