From 3eb96f293552d98fc80d7cb4db4af56b4b37cfb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ensar=20Saraj=C4=8Di=C4=87?= Date: Wed, 20 Jul 2022 17:55:33 +0200 Subject: [PATCH] Add khard and khal configs --- symlinks/config/.gitignore | 4 +++ symlinks/config/aerc/aerc.conf | 3 +- symlinks/config/khal/config | 15 ++++++++++ symlinks/config/khard/khard.conf | 49 ++++++++++++++++++++++++++++++++ 4 files changed, 70 insertions(+), 1 deletion(-) create mode 100644 symlinks/config/khal/config create mode 100644 symlinks/config/khard/khard.conf diff --git a/symlinks/config/.gitignore b/symlinks/config/.gitignore index 184879c..a8fb881 100644 --- a/symlinks/config/.gitignore +++ b/symlinks/config/.gitignore @@ -58,3 +58,7 @@ !/sh-utils/ !/aerc/** !/aerc/ +!/khard/** +!/khard/ +!/khal/** +!/khal/ diff --git a/symlinks/config/aerc/aerc.conf b/symlinks/config/aerc/aerc.conf index 408fd57..f2e1ec7 100644 --- a/symlinks/config/aerc/aerc.conf +++ b/symlinks/config/aerc/aerc.conf @@ -244,7 +244,8 @@ header-layout=To|From,Subject # the first field. Only the email address field is required. The second field, # if present, will be treated as the contact name. Additional fields are # ignored. -address-book-cmd= +address-book-cmd=khard email --remove-first-line --parsable '%s' + # # Allow to address yourself when replying diff --git a/symlinks/config/khal/config b/symlinks/config/khal/config new file mode 100644 index 0000000..1576647 --- /dev/null +++ b/symlinks/config/khal/config @@ -0,0 +1,15 @@ +[calendars] + +[[default]] +path = ~/.local/share/khal/calendars/default +type = discover + +[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 = default diff --git a/symlinks/config/khard/khard.conf b/symlinks/config/khard/khard.conf new file mode 100644 index 0000000..f834e6c --- /dev/null +++ b/symlinks/config/khard/khard.conf @@ -0,0 +1,49 @@ +[addressbooks] +[[default]] +path = ~/.local/share/khard/contacts/default/ + +[general] +debug = no +default_action = list +# These are either strings or comma seperated lists +editor = nvim +merge_editor = nvim, -d + +[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 +# show kind table column: yes / no +show_kinds = no +# 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