Add Calendar install script

This commit is contained in:
2026-04-15 14:52:59 +02:00
parent a29050a389
commit 2245f91b5b
2 changed files with 54 additions and 2 deletions
+13 -2
View File
@@ -1,9 +1,20 @@
#!/bin/bash
set -euo pipefail
DOTFILES="${HOME}/.config/literate-dotfiles"
tangle() {
emacs --batch -l org --eval "(org-babel-tangle-file \"${DOTFILES}/$1\")"
}
echo "==> Calendar and contacts packages"
paru -S --needed \
vdirsyncer \
khal \
khard \
mu
khard
echo "==> Tangling systemd configs for calendar"
tangle "systemd.org"
echo "==> Enabling vdirsyncer timer"
systemctl --user enable --now vdirsyncer.timer