aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2022-11-04 17:12:03 -0300
committerEuAndreh <eu@euandre.org>2022-11-04 17:12:03 -0300
commitac975ca530d6be42148264501dd7a40ebfd97a81 (patch)
tree9e42ec531e588fd856b70414f99765ef1ff259bc
parentetc/guix/home.scm: Add "remhind" package (diff)
downloaddotfiles-ac975ca530d6be42148264501dd7a40ebfd97a81.tar.gz
dotfiles-ac975ca530d6be42148264501dd7a40ebfd97a81.tar.xz
etc/remhind/config.tmpl: Add remhind config template, and generate it in Makefile
-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/"