Various tweaks

This commit is contained in:
Alex Kelly 2021-03-16 13:43:56 -04:00
parent eedec0bc32
commit fb36c8dda2
4 changed files with 23 additions and 4 deletions

View file

@ -24,4 +24,4 @@ macro index - "<modify-labels>-*\\n<sync-mailbox>" # tag as unstar
macro attach A "<pipe-message>/home/kellya/projects/public/mutt-filters/vcalendar-filter | /home/kellya/projects/public/khal/misc/mutt2khal<enter>" macro attach A "<pipe-message>/home/kellya/projects/public/mutt-filters/vcalendar-filter | /home/kellya/projects/public/khal/misc/mutt2khal<enter>"
# Archive # Archive
macro index A ":set confirmappend=no delete=yes\n<save-message>=archive\n<sync-mailbox>:set confirmappend=no delete=yes\n<modify-labels>+archive -unread -inbox\\n" # macro index A ":set confirmappend=no delete=yes\n<save-message>=archive\n<sync-mailbox>:set confirmappend=no delete=yes\n<modify-labels>+archive -unread -inbox\\n"

View file

@ -1,4 +1,6 @@
mailboxes \ mailboxes \
"+arachnitech/INBOX" \ "+arachnitech/INBOX" \
"+arachnitech/Blockchain" \
"+franklin/INBOX" \ "+franklin/INBOX" \
"+franklin/Archive" \
"+franklin/Sent" "+franklin/Sent"

View file

@ -1,5 +1,17 @@
#set record=~/Maildir/arachnitech/Sent #set record=~/Maildir/arachnitech/Sent
set sidebar_visible = yes set sidebar_visible = yes
set sidebar_short_path # Shorten mailbox names
set sidebar_delim_chars="/" # Delete everything up to the last / character
set sidebar_folder_indent # Indent folders whose names we've shortened
set sidebar_indent_string=" " # Indent with two spaces
color sidebar_new yellow default
color sidebar_indicator default color17 # Dark blue background
color sidebar_highlight white color238 # Grey background
color sidebar_spoolfile yellow default # Yellow
color sidebar_new green default # Green
color sidebar_ordinary default default # Default colors
color sidebar_flagged red default # Red
color sidebar_divider color8 default # Dark grey
## set record="~/Maildir/Sent Mail" ## set record="~/Maildir/Sent Mail"
set spoolfile="+franklin/INBOX" set spoolfile="+franklin/INBOX"
# set header cache # set header cache
@ -7,11 +19,14 @@ set header_cache=~/Localmail/hcache
set mbox_type=Maildir set mbox_type=Maildir
set folder=~/Maildir/ set folder=~/Maildir/
set sort=reverse-date-received set sort=reverse-date-received
set pager_stop=yes
set fast_reply
set include=yes
# IMAP and INBOX (this should map to any existing IMAP folders) # IMAP and INBOX (this should map to any existing IMAP folders)
folder-hook arachnitech/* source ~/.mutt/accounts/arachnitech folder-hook arachnitech/* source ~/.mutt/accounts/arachnitech
folder-hook franklin/* source ~/.mutt/accounts/franklin folder-hook franklin/* source ~/.mutt/accounts/franklin
# auto_view text/html # auto_view text/html
alternative_order text/plain text/enriched text/html #alternative_order text/plain text/enriched text/html
auto_view text/html auto_view text/html
auto_view text/calendar auto_view text/calendar
@ -19,7 +34,7 @@ auto_view text/calendar
set confirmappend=yes set confirmappend=yes
set delete=yes set delete=yes
# Show new notification when mail arrives # Show new notification when mail arrives
set new_mail_command="notify-send --icon='/home/kellya/images/mutt-1.png' \ set new_mail_command="notify-send -t 2000 --icon='/home/kellya/images/mutt-1.png' -a mutt -c mail \
'New Emails' '%n new messages' &" 'New Emails' '%n new messages' &"
# Run a script to cat anything that has .rc as the extension to auto source things # Run a script to cat anything that has .rc as the extension to auto source things

View file

@ -1,2 +1,4 @@
set nm_default_url = "notmuch:///home/kellya/Maildir" set nm_default_url = "notmuch:///home/kellya/Maildir"
virtual-mailboxes "My INBOX" "notmuch://?query=tag:inbox" virtual-mailboxes "Universal Inbox" "notmuch://?query=tag:inbox"
virtual-mailboxes "Arachnitech INBOX" "notmuch://?query=tag:inbox&query=to:*arachnitech.com"
virtual-mailboxes "Franklin INBOX" "notmuch://?query=tag:inbox&query=to:*franklin.edu"