diff options
-rw-r--r-- | home-configuration.scm | 3 | ||||
-rw-r--r-- | khard.conf | 22 | ||||
-rw-r--r-- | muttrc | 3 |
3 files changed, 27 insertions, 1 deletions
diff --git a/home-configuration.scm b/home-configuration.scm index 57041c3e..5500e7f3 100644 --- a/home-configuration.scm +++ b/home-configuration.scm @@ -338,7 +338,7 @@ replacement spec (to which `regexp-substitute/global' is applied)." "source-highlight" "tk" "tmux" "tree" "xxd" "zip" "unzip" "get-iplayer" "ffmpeg" "atomicparsley" "yt-dlp" "neomutt" "mailcap" "lynx" ; mail (lynx for HTML mail) - "newsboat" "vdirsyncer" "khal" + "newsboat" "vdirsyncer" "khal" "khard" ;; Ranger can do code highlighting using python-pygments and ;; image previews in kitty using python-pillow. @@ -457,6 +457,7 @@ replacement spec (to which `regexp-substitute/global' is applied)." ("git/config" ,(local-file "gitconfig")) ("htop/htoprc" ,(local-file "htoprc")) ("khal/config" ,(local-file "khal.conf")) + ("khard/khard.conf" ,(local-file "khard.conf")) ("lesskey" ,(local-file "lesskey")) ("mutt/muttrc" ,(local-file "muttrc")) ("mutt/catppuccin.muttrc" diff --git a/khard.conf b/khard.conf new file mode 100644 index 00000000..a3cfe41a --- /dev/null +++ b/khard.conf @@ -0,0 +1,22 @@ +# https://khard.readthedocs.io/en/latest/man/khard.conf.html + +[addressbooks] +[[main]] +path = ~/.local/share/vdirsyncer/main-contacts/contacts +[[sandbox]] +path = ~/.local/share/vdirsyncer/sandbox-contacts/sandbox-contacts + +[general] +default_action = list +merge_editor = vimdiff + +[contact table] +display = formatted_name +sort = last_name +group_by_addressbook = yes +localize_dates = yes +show_nicknames = yes +show_kinds = yes +show_uids = no +preferred_phone_number_type = pref, cell, home +preferred_email_address_type = pref, home, work @@ -25,6 +25,9 @@ unset help # hide keybind hints in top row set quit unset confirmappend +# Use khard for contact info. +set query_command = "khard email --parsable" + set sort = "reverse-date" # newest first, threads grouped set use_threads = "threads" unset mark_old # always keep unread messages as "new" |