calcurse: sync with Google Calendar via calcurse-caldav
Hourly timer started from xmonad, plus UI hooks that sync before load and after exit. calcurse-sync notifies once when the OAuth login expires and restarts the daemon after imports, since it never re-reads its files.
This commit is contained in:
7 files changed
+78
No files matched your search
@@ -0,0 +1,6 @@
|
||||
[Unit]
|
||||
Description=Sync calcurse with Google Calendar
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=%h/.local/bin/calcurse-sync
|
||||
@@ -0,0 +1,7 @@
|
||||
[Unit]
|
||||
Description=Sync calcurse with Google Calendar hourly
|
||||
|
||||
[Timer]
|
||||
OnActiveSec=1min
|
||||
OnCalendar=hourly
|
||||
Persistent=true
|
||||
@@ -1,5 +1,6 @@
|
||||
[Unit]
|
||||
Description=Notify today's calcurse events
|
||||
After=calcurse-sync.service
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
|
||||
Reference in new issue
Block a user