switch from abook to khard
This commit is contained in:
parent
d6f0da270f
commit
7e1d59a684
2
abook/.gitignore
vendored
2
abook/.gitignore
vendored
@ -1,2 +0,0 @@
|
|||||||
addressbook
|
|
||||||
addressbook~
|
|
@ -4,7 +4,7 @@ periodic_hook_frequency = 60
|
|||||||
|
|
||||||
attachment_prefix = /data/temporary
|
attachment_prefix = /data/temporary
|
||||||
prefer_plaintext = True
|
prefer_plaintext = True
|
||||||
editor_cmd = "st -e vis"
|
editor_cmd = "dvtm 'vis %s'"
|
||||||
|
|
||||||
[accounts]
|
[accounts]
|
||||||
|
|
||||||
@ -19,7 +19,10 @@ editor_cmd = "st -e vis"
|
|||||||
sign_by_default = False
|
sign_by_default = False
|
||||||
|
|
||||||
[[[abook]]]
|
[[[abook]]]
|
||||||
type = abook
|
type = shellcommand
|
||||||
|
command = khard email --parsable
|
||||||
|
regexp = '^(?P<email>[^@]+@[^\t]+)\t+(?P<name>[^\t]+)'
|
||||||
|
ignorecase = True
|
||||||
|
|
||||||
[[gmail]]
|
[[gmail]]
|
||||||
realname = Felix Van der Jeugt
|
realname = Felix Van der Jeugt
|
||||||
@ -34,8 +37,10 @@ editor_cmd = "st -e vis"
|
|||||||
sign_by_default = True
|
sign_by_default = True
|
||||||
|
|
||||||
[[[abook]]]
|
[[[abook]]]
|
||||||
type = abook
|
type = shellcommand
|
||||||
|
command = khard email --parsable
|
||||||
|
regexp = '^(?P<email>[^@]+@[^\t]+)\t+(?P<name>[^\t]+)'
|
||||||
|
ignorecase = True
|
||||||
|
|
||||||
[[ugent]]
|
[[ugent]]
|
||||||
realname = Felix Van der Jeugt
|
realname = Felix Van der Jeugt
|
||||||
@ -49,7 +54,10 @@ editor_cmd = "st -e vis"
|
|||||||
sign_by_default = True
|
sign_by_default = True
|
||||||
|
|
||||||
[[[abook]]]
|
[[[abook]]]
|
||||||
type = abook
|
type = shellcommand
|
||||||
|
command = khard email --parsable
|
||||||
|
regexp = '^(?P<email>[^@]+@[^\t]+)\t+(?P<name>[^\t]+)'
|
||||||
|
ignorecase = True
|
||||||
|
|
||||||
[bindings]
|
[bindings]
|
||||||
|
|
||||||
|
41
config/khard/khard.conf
Normal file
41
config/khard/khard.conf
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
|
||||||
|
[addressbooks]
|
||||||
|
[[default]]
|
||||||
|
path = /data/contacts/default/
|
||||||
|
|
||||||
|
[general]
|
||||||
|
debug = no
|
||||||
|
default_action = list
|
||||||
|
editor = vis
|
||||||
|
merge_editor = vis
|
||||||
|
|
||||||
|
[contact table]
|
||||||
|
# display names by first or last name: first_name / last_name
|
||||||
|
display = first_name
|
||||||
|
# group by address book: yes / no
|
||||||
|
group_by_addressbook = no
|
||||||
|
# reverse table ordering: yes / no
|
||||||
|
reverse = no
|
||||||
|
# append nicknames to name column: yes / no
|
||||||
|
show_nicknames = yes
|
||||||
|
# show uid table column: yes / no
|
||||||
|
show_uids = yes
|
||||||
|
# sort by first or last name: first_name / last_name
|
||||||
|
sort = last_name
|
||||||
|
# localize dates: yes / no
|
||||||
|
localize_dates = yes
|
||||||
|
|
||||||
|
[vcard]
|
||||||
|
# extend contacts with your own private objects
|
||||||
|
# these objects are stored with a leading "X-" before the object name in the vcard files
|
||||||
|
# every object label may only contain letters, digits and the - character
|
||||||
|
# example:
|
||||||
|
# private_objects = Jabber, Skype, Twitter
|
||||||
|
private_objects = IBAN
|
||||||
|
# preferred vcard version: 3.0 / 4.0
|
||||||
|
preferred_version = 4.0
|
||||||
|
# Look into source vcf files to speed up search queries: yes / no
|
||||||
|
search_in_source_files = no
|
||||||
|
# skip unparsable vcard files: yes / no
|
||||||
|
skip_unparsable = no
|
||||||
|
|
@ -50,3 +50,18 @@ url = "https://posteo.de:8443/calendars/felix.vanderjeugt/plebbb/"
|
|||||||
username = "felix.vanderjeugt@posteo.net"
|
username = "felix.vanderjeugt@posteo.net"
|
||||||
password.fetch = ["command", "pass", "other/vdirsyncer"]
|
password.fetch = ["command", "pass", "other/vdirsyncer"]
|
||||||
|
|
||||||
|
[pair posteo_contacts]
|
||||||
|
a = "contacts_local"
|
||||||
|
b = "contacts_remote"
|
||||||
|
collections = ["from a", "from b"]
|
||||||
|
|
||||||
|
[storage contacts_local]
|
||||||
|
type = "filesystem"
|
||||||
|
path = "/data/contacts"
|
||||||
|
fileext = ".vcf"
|
||||||
|
|
||||||
|
[storage contacts_remote]
|
||||||
|
type = "carddav"
|
||||||
|
url = "https://posteo.de:8843/addressbooks/felix.vanderjeugt/default"
|
||||||
|
username = "felix.vanderjeugt@posteo.net"
|
||||||
|
password.fetch = ["command", "pass", "other/vdirsyncer"]
|
||||||
|
Loading…
Reference in New Issue
Block a user