1
0
mirror of https://github.com/vbrandl/dotfiles synced 2024-11-23 00:13:49 +01:00
dotfiles/bin/khal_sync.sh
2019-04-28 22:03:13 +02:00

8 lines
164 B
Bash
Executable File

#!/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 &