aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile4
-rw-r--r--etc/remhind/config.tmpl4
2 files changed, 8 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index d400ce1..33e1cac 100644
--- a/Makefile
+++ b/Makefile
@@ -16,6 +16,7 @@ derived-assets = \
$(XDG_CONFIG_HOME)/ssh/id_rsa.pub \
$(XDG_CONFIG_HOME)/git/config-extra \
$(XDG_CONFIG_HOME)/gnupg/gpg-agent.conf \
+ $(XDG_CONFIG_HOME)/remhind/config \
$(XDG_CONFIG_HOME)/ssh/config \
$(XDG_CONFIG_HOME)/alot/config \
$(XDG_CONFIG_HOME)/mbsync/config \
@@ -59,6 +60,9 @@ $(XDG_CONFIG_HOME)/ssh/id_rsa.pub:
gpg --export-ssh-key eu@euandre.org > $@
chmod 600 $@
+$(XDG_CONFIG_HOME)/remhind/config: $(XDG_CONFIG_HOME)/remhind/config.tmpl
+ envsubst < $(XDG_CONFIG_HOME)/remhind/config.tmpl > $@
+
$(XDG_CONFIG_HOME)/ssh/config: $(XDG_CONFIG_HOME)/ssh/config.tmpl
envsubst < $(XDG_CONFIG_HOME)/ssh/config.tmpl > $@
diff --git a/etc/remhind/config.tmpl b/etc/remhind/config.tmpl
new file mode 100644
index 0000000..4d74b20
--- /dev/null
+++ b/etc/remhind/config.tmpl
@@ -0,0 +1,4 @@
+[calendars]
+ [calendars.private_cal]
+ name = "private_cal"
+ path = "${XDG_DATA_HOME}/khal/calendars/private/"