Add Calendar install script
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user