Merge remote-tracking branch 'origin/main' into uzi

This commit is contained in:
Andrew Davidson 2024-09-14 07:18:05 -07:00
commit bb60bd374c
Signed by: amd
SSH key fingerprint: SHA256:6jDSUhitcXG0Nrh/g8Gy8ZJdsZ5LzPJlaGmGKUGfP5k
4 changed files with 51 additions and 3 deletions

View file

@ -0,0 +1,17 @@
[addressbooks]
[[Nextcloud]]
path = ~/.local/share/vdirsyncer/nextcloud_contacts_local/contacts/
[general]
debug = no
default_action = list
editor = nvim
merge_editor = delta
[contact table]
display = first_name
show_nicknames = no
sort = last_name
[vcard]
search_in_source_files = yes

View file

@ -3,7 +3,8 @@ set from = "andrew@amd.im"
set realname = "Andrew Davidson"
#### Connectivity
#### Remote Connectivity
#### use this instead of the local storage section below.
#set imap_user = "andrew@amd.im"
#set imap_pass = "`pass show email/amd.im/andrew`"
#set folder = "imaps://mail.amd.im"
@ -13,12 +14,17 @@ set realname = "Andrew Davidson"
#set imap_check_subscribed # automatically check subscribed folders
#mailboxes +INBOX
#### Local storage of emails
#### Use this with isync/mbsync to store email locally
set mbox_type = Maildir
set folder = "~/.local/share/email/andrew@amd.im"
mailboxes =INBOX =Archive =Sent =Trash =Spam
mailboxes =Automatic.DMARC
mailboxes =Lists.Money\ Stuff =Lists.NYT =Lists.SWICG =Lists.Evergreen\ MBA
mailboxes =NeedleandFoot
macro index $ "<shell-escape>mbsync andrew@amd.im<enter>notmuch new<enter>" "sync email"
macro index \\\\ "<vfolder-from-query>" "Search mail"
### Mailbox Locations
set spoolfile = "+INBOX"
@ -30,8 +36,13 @@ set trash = "=Trash"
### Local Folders
set header_cache = "~/.cache/neomutt/headers"
set message_cachedir = "~/.cache/neomutt/messages"
macro index $ "<shell-escape>mbsync andrew@amd.im<enter>notmuch new<enter>" "sync email"
macro index \\\\ "<vfolder-from-query>" "Search mail"
### Use `khard` for contact lookup
### To query an address use ctrl-t
set query_command= "khard email --parsable --search-in-source-files %s"
bind editor <Tab> complete-query
### Local Settings
set mail_check = 60 # check for mail every XX seconds

View file

@ -0,0 +1,19 @@
[general]
status_path = "~/.local/share/vdirsyncer/status"
[pair nextcloud_contacts]
a = "nextcloud_contacts_local"
b = "nextcloud_contacts_remote"
collections = ["from a", "from b"]
metadata = ["displayname"]
[storage nextcloud_contacts_local]
type = "filesystem"
path = "~/.local/share/vdirsyncer/nextcloud_contacts_local/"
fileext = ".vcf"
[storage nextcloud_contacts_remote]
type = "carddav"
url = "https://cloud.andr3w.net/remote.php/dav/addressbooks/users/andrew/"
username = "andrew"
password.fetch = ["command", "pass", "nextcloud"]

View file

@ -2,3 +2,4 @@
mbsync andrew@amd.im
notmuch new
vdirsyncer sync