update: add khal and vdirsyncer
This commit is contained in:
@@ -0,0 +1,15 @@
|
|||||||
|
[calendars]
|
||||||
|
|
||||||
|
[[FAU]]
|
||||||
|
path = /home/wyj/.local/share/khal/calendars/FAU
|
||||||
|
type = calendar
|
||||||
|
|
||||||
|
[locale]
|
||||||
|
timeformat = %H:%M
|
||||||
|
dateformat = %Y-%m-%d
|
||||||
|
longdateformat = %Y-%m-%d
|
||||||
|
datetimeformat = %Y-%m-%d %H:%M
|
||||||
|
longdatetimeformat = %Y-%m-%d %H:%M
|
||||||
|
|
||||||
|
[default]
|
||||||
|
default_calendar = FAU
|
||||||
@@ -0,0 +1,75 @@
|
|||||||
|
# An example configuration for vdirsyncer.
|
||||||
|
#
|
||||||
|
# Move it to ~/.vdirsyncer/config or ~/.config/vdirsyncer/config and edit it.
|
||||||
|
# Run `vdirsyncer --help` for CLI usage.
|
||||||
|
#
|
||||||
|
# Optional parameters are commented out.
|
||||||
|
# This file doesn't document all available parameters, see
|
||||||
|
# http://vdirsyncer.pimutils.org/ for the rest of them.
|
||||||
|
|
||||||
|
[general]
|
||||||
|
# A folder where vdirsyncer can store some metadata about each pair.
|
||||||
|
status_path = "~/.vdirsyncer/status/"
|
||||||
|
|
||||||
|
# CARDDAV
|
||||||
|
#[pair bob_contacts]
|
||||||
|
# A `[pair <name>]` block defines two storages `a` and `b` that should be
|
||||||
|
# synchronized. The definition of these storages follows in `[storage <name>]`
|
||||||
|
# blocks. This is similar to accounts in OfflineIMAP.
|
||||||
|
#a = "bob_contacts_local"
|
||||||
|
#b = "bob_contacts_remote"
|
||||||
|
|
||||||
|
# Synchronize all collections that can be found.
|
||||||
|
# You need to run `vdirsyncer discover` if new calendars/addressbooks are added
|
||||||
|
# on the server.
|
||||||
|
|
||||||
|
#collections = ["from a", "from b"]
|
||||||
|
|
||||||
|
# Synchronize the "display name" property into a local file (~/.contacts/displayname).
|
||||||
|
#metadata = ["displayname"]
|
||||||
|
|
||||||
|
# To resolve a conflict the following values are possible:
|
||||||
|
# `null` - abort when collisions occur (default)
|
||||||
|
# `"a wins"` - assume a's items to be more up-to-date
|
||||||
|
# `"b wins"` - assume b's items to be more up-to-date
|
||||||
|
#conflict_resolution = null
|
||||||
|
|
||||||
|
#[storage bob_contacts_local]
|
||||||
|
# A storage references actual data on a remote server or on the local disk.
|
||||||
|
# Similar to repositories in OfflineIMAP.
|
||||||
|
#type = "filesystem"
|
||||||
|
#path = "~/.contacts/"
|
||||||
|
#fileext = ".vcf"
|
||||||
|
|
||||||
|
#[storage bob_contacts_remote]
|
||||||
|
#type = "carddav"
|
||||||
|
#url = "https://owncloud.example.com/remote.php/carddav/"
|
||||||
|
#username =
|
||||||
|
# The password can also be fetched from the system password storage, netrc or a
|
||||||
|
# custom command. See http://vdirsyncer.pimutils.org/en/stable/keyring.html
|
||||||
|
#password =
|
||||||
|
|
||||||
|
# CALDAV
|
||||||
|
#[pair bob_calendar]
|
||||||
|
#a = "bob_calendar_local"
|
||||||
|
#b = "bob_calendar_remote"
|
||||||
|
#collections = ["from a", "from b"]
|
||||||
|
|
||||||
|
# Calendars also have a color property
|
||||||
|
#metadata = ["displayname", "color"]
|
||||||
|
|
||||||
|
[pair khal_pair_1]
|
||||||
|
a = "khal_pair_1_local"
|
||||||
|
b = "khal_pair_1_remote"
|
||||||
|
collections = ["from a", "from b"]
|
||||||
|
|
||||||
|
[storage khal_pair_1_local]
|
||||||
|
type = "filesystem"
|
||||||
|
path = "/home/wyj/.local/share/khal/calendars"
|
||||||
|
fileext = ".ics"
|
||||||
|
|
||||||
|
[storage khal_pair_1_remote]
|
||||||
|
type = "caldav"
|
||||||
|
url = "http://radicale.phywyj.dynv6.net/wyj/FAU"
|
||||||
|
username = "wyj"
|
||||||
|
password = "9ZoNFEKoKt3vTl"
|
||||||
Reference in New Issue
Block a user