Merge remote-tracking branch 'origin/main' into uzi
This commit is contained in:
commit
bb60bd374c
4 changed files with 51 additions and 3 deletions
17
email/.config/khard/khard.conf
Normal file
17
email/.config/khard/khard.conf
Normal 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
|
|
@ -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
|
||||
|
|
19
email/.config/vdirsyncer/config
Normal file
19
email/.config/vdirsyncer/config
Normal 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"]
|
|
@ -2,3 +2,4 @@
|
|||
|
||||
mbsync andrew@amd.im
|
||||
notmuch new
|
||||
vdirsyncer sync
|
Loading…
Reference in a new issue