commit 8b7a32f9d36e251392c8554c7ec264003845f229
parent a6ea0af7b9f4f61c215ea7f9ca893417b0951a1b
Author: Alex Balgavy <alex@balgavy.eu>
Date: Fri, 1 Oct 2021 19:29:01 +0200
khal & khard configs
vdirsyncer will stay out of this repo.
Diffstat:
5 files changed, 72 insertions(+), 0 deletions(-)
diff --git a/.gitignore b/.gitignore
@@ -10,6 +10,9 @@ notmuch/
mbsync/
msmtp/
+# Contacts/calendars
+vdirsyncer/
+
# CLI for my router
scripts/wifi
diff --git a/dot.map b/dot.map
@@ -58,6 +58,9 @@ dunst: ~/.config/dunst
sxhkd: ~/.config/sxhkd
talon-user: ~/.talon/user
surfraw: ~/.config/surfraw
+khard: ~/.config/khard
+khal: ~/.config/khal
+vdirsyncer: ~/.config/vdirsyncer
# Email: these won't exist when you clone the repo
mbsync: ~/.config/mbsync
diff --git a/khal/config b/khal/config
@@ -0,0 +1,17 @@
+[calendars]
+[[mine]]
+path = ~/.local/share/calendars/mine/*
+type = discover
+
+[[web]]
+path = ~/.local/share/calendars/sub/*
+type = discover
+
+[keybindings]
+external_edit = E
+
+[view]
+theme = light
+
+[locale]
+timeformat = "%H:%M"
diff --git a/khard/khard.conf b/khard/khard.conf
@@ -0,0 +1,48 @@
+[addressbooks]
+[[default]]
+path = ~/.local/share/contacts/default/
+
+[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]
+# 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
+# default: , (the empty list)
+private_objects = Jabber, Skype, Twitter
+# preferred vcard version: 3.0 / 4.0
+preferred_version = 3.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
+
diff --git a/scripts/vdirsyncd b/scripts/vdirsyncd
@@ -17,3 +17,4 @@ case "$os" in
esac
vdirsyncer sync || notify 'Error in vdirsyncer' 'Did not sync properly, check /tmp/vdirsyncd.std{out,err}' vdirsyncd
+vdirsyncer metasync || notify 'Error in vdirsyncer' 'Did not sync properly, check /tmp/vdirsyncd.std{out,err}' vdirsyncd