Bunch of dotfile changes
This commit is contained in:
@@ -1,65 +1,30 @@
|
||||
# An example configuration for vdirsyncer.
|
||||
# Optional parameters are commented out.
|
||||
|
||||
[general]
|
||||
# A folder where vdirsyncer can store some metadata about each pair.
|
||||
status_path = ~/.vdirsyncer/status/
|
||||
|
||||
# CONTACTS
|
||||
#[pair google_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 = google_contacts_local
|
||||
#b = google_contacts_remote
|
||||
[pair fastmail_contacts]
|
||||
a = fastmail_contacts_local
|
||||
b = fastmail_contacts_remote
|
||||
collections = ["from b"]
|
||||
conflict_resolution = b wins
|
||||
|
||||
## If you want to synchronize several addressbooks, calendars etc that share
|
||||
## the same storage location and differ only in a suffix to this location
|
||||
## (i.e., a subdirectory) you can use collections. The comma-separated values
|
||||
## in this parameter represent these subdirectories and are added as URL
|
||||
## segments or similar.
|
||||
[storage fastmail_contacts_local]
|
||||
type = filesystem
|
||||
path = ~/Contacts/
|
||||
fileext = .vcf
|
||||
|
||||
## Together with the definition of the following two `[storage]` blocks below
|
||||
## in this example it means that
|
||||
## - https://owncloud.example.com/remote.php/carddav/addressbooks/bob/default/
|
||||
## will get synced with ~/.contacts/default/
|
||||
## - https://owncloud.example.com/remote.php/carddav/addressbooks/bob/work/
|
||||
## will get synced with ~/.contacts/work/
|
||||
[storage fastmail_contacts_remote]
|
||||
type = carddav
|
||||
url = https://carddav.messagingengine.com
|
||||
auth = basic
|
||||
username = dustinswan@fastmail.com
|
||||
password.fetch = ["command", "~/dotfiles/bin/decrypt_password.sh", "dustinswan@fastmail.com"]
|
||||
|
||||
## Omitting this parameter implies that the given path and URL in the
|
||||
## corresponding `[storage <name>]` blocks are already pointing to a
|
||||
## collection each.
|
||||
##collections = default,work
|
||||
|
||||
## conflict_resolution = None # abort when collisions occur (default)
|
||||
## conflict_resolution = a wins # assume a's items to be more up-to-date
|
||||
## conflict_resolution = b wins # assume b's items to be more up-to-date
|
||||
|
||||
#[storage google_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
|
||||
#create = True # create directory if it doesn't exist
|
||||
#encoding = utf-8
|
||||
|
||||
#[storage google_contacts_remote]
|
||||
#type = carddav
|
||||
#url = http://google.com
|
||||
##auth = basic # basic|digest
|
||||
#username = dustinswan@gmail.com # for http auth, if empty, no auth will be used
|
||||
|
||||
#true: The NSA can spy on you with some effort
|
||||
#false: Everybody can spy on you with no effort
|
||||
#path to SSL cert: People will call you paranoid
|
||||
#verify = True
|
||||
|
||||
# CALDAV
|
||||
[pair fastmail_calendar]
|
||||
a = fastmail_calendar_local
|
||||
b = fastmail_calendar_remote
|
||||
collections = ["from b"]
|
||||
conflict_resolution = b wins
|
||||
metadata = ["color", "displayname"]
|
||||
|
||||
[storage fastmail_calendar_local]
|
||||
type = filesystem
|
||||
@@ -72,35 +37,3 @@ url = https://caldav.messagingengine.com/
|
||||
auth = basic
|
||||
username = dustinswan@fastmail.com
|
||||
password.fetch = ["command", "~/dotfiles/bin/decrypt_password.sh", "dustinswan@fastmail.com"]
|
||||
#verify = True
|
||||
|
||||
# Optional: Specify a time range which should be synchronized. Either both
|
||||
# start_date and end_date or neither have to be set. The default is to
|
||||
# synchronize everything. The following example synchronizes from one year in
|
||||
# the past to one year in the future.
|
||||
|
||||
# All Python expressions are allowed here. The global namespace contains
|
||||
# everything from the datetime module. The expression has to evaluate to a
|
||||
# datetime.
|
||||
#start_date = datetime.now() - timedelta(days=365)
|
||||
|
||||
# Here, start_date is also in the namespace.
|
||||
#end_date = datetime.now() + timedelta(days=365)
|
||||
|
||||
# HTTP CALENDAR
|
||||
#[pair holidays]
|
||||
#a = holidays_local
|
||||
#b = holidays_remote
|
||||
|
||||
#[storage holidays_local]
|
||||
#type = filesystem
|
||||
#path = ~/.config/vdir/calendars/holidays/
|
||||
#fileext = .ics
|
||||
|
||||
#[storage holidays_remote]
|
||||
#type = http
|
||||
#url = https://mozorg.cdn.mozilla.net/media/caldata/QueenslandHolidays.ics
|
||||
#auth = basic
|
||||
#username =
|
||||
#password =
|
||||
#verify = True
|
||||
|
||||
Reference in New Issue
Block a user