1
0
mirror of https://github.com/eoli3n/dotfiles synced 2024-11-26 06:08:35 +01:00

updated dav config

This commit is contained in:
eoli3n 2021-11-18 16:12:56 +01:00
parent da1664ef5b
commit bc2e044438
5 changed files with 57 additions and 6 deletions

@ -28,8 +28,8 @@
- role: gpg - role: gpg
tags: gpg tags: gpg
when: ansible_user_id != 'root' when: ansible_user_id != 'root'
- role: khal - role: dav
tags: khal tags: dav
when: ansible_user_id != 'root' when: ansible_user_id != 'root'
- role: sway - role: sway
tags: sway tags: sway

@ -6,6 +6,9 @@
loop: loop:
- ~/.vdirsyncer/ - ~/.vdirsyncer/
- ~/.config/khal/ - ~/.config/khal/
- ~/.config/khard/
- ~/.vdirsyncer/khal/
- ~/.vdirsyncer/khard/
- name: copy vdirsyncer config - name: copy vdirsyncer config
template: template:
@ -16,3 +19,11 @@
template: template:
src: khal.j2 src: khal.j2
dest: ~/.config/khal/config dest: ~/.config/khal/config
- name: copy khard config
template:
src: khard.j2
dest: ~/.config/khard/khard.conf
- name: vdirsyncer init
shell: yes | vdirsyncer discover

@ -1,12 +1,12 @@
[calendars] [calendars]
[[home]] [[home]]
path = ~/share/docs/calendar/home path = ~/.vdirsyncer/khal/home
type = discover type = discover
color = light green color = light green
[[anniversaires]] [[anniversaires]]
path = ~/share/docs/calendar/anniversaires path = ~/.vdirsyncer/khal/anniversaires
type = discover type = discover
color = light blue color = light blue

@ -0,0 +1,40 @@
[addressbooks]
[[contacts]]
path = ~/.vdirsyncer/khard/contacts
[general]
debug = no
default_action = list
# These are either strings or comma seperated lists
editor = vim, -i, NONE
merge_editor = vimdiff
[contact table]
# display names by first or last name: first_name / last_name / formatted_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 = no
# show uid table column: yes / no
show_uids = yes
# sort by first or last name: first_name / last_name / formatted_name
sort = last_name
# localize dates: yes / no
localize_dates = yes
# set a comma separated list of preferred phone number types in descending priority
# or nothing for non-filtered alphabetical order
preferred_phone_number_type = pref, cell, home
# set a comma separated list of preferred email address types in descending priority
# or nothing for non-filtered alphabetical order
preferred_email_address_type = pref, work, home
[vcard]
# 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

@ -8,7 +8,7 @@ collections = ["from a", "from b"]
[storage my_contacts_local] [storage my_contacts_local]
type = "filesystem" type = "filesystem"
path = "~/share/docs/contacts" path = "~/.vdirsyncer/khard"
fileext = ".vcf" fileext = ".vcf"
[storage my_contacts_remote] [storage my_contacts_remote]
@ -25,7 +25,7 @@ metadata = ["color"]
[storage my_calendars_local] [storage my_calendars_local]
type = "filesystem" type = "filesystem"
path = "~/share/docs/calendar" path = "~/.vdirsyncer/khal"
fileext = ".ics" fileext = ".ics"
[storage my_calendars_remote] [storage my_calendars_remote]