From ac975ca530d6be42148264501dd7a40ebfd97a81 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Fri, 4 Nov 2022 17:12:03 -0300 Subject: etc/remhind/config.tmpl: Add remhind config template, and generate it in Makefile --- Makefile | 4 ++++ etc/remhind/config.tmpl | 4 ++++ 2 files changed, 8 insertions(+) create mode 100644 etc/remhind/config.tmpl 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/" -- cgit v1.2.3