1
0
mirror of https://github.com/vbrandl/dotfiles synced 2024-11-27 01:45:12 +01:00
dotfiles/bin/khal_sync.sh

8 lines
164 B
Bash
Raw Normal View History

2019-04-28 22:03:13 +02:00
#!/usr/bin/env sh
notify_khal() {
while inotifywait -r -e modify -e create -e delete "${HOME}/.calendars/"; do
"${HOME}/bin/vdirsyncer.sh"
done
}
notify_khal &