diff --git a/home/common/files/neomutt/mailcap b/home/common/files/neomutt/mailcap new file mode 100644 index 0000000..6e0e3cd --- /dev/null +++ b/home/common/files/neomutt/mailcap @@ -0,0 +1,51 @@ +application/octet-stream; catdoc '%s' ; copiousoutput +text/calendar; mutt-ics; copiousoutput +application/ics; mutt-ics; copiousoutput +application/ms-tnef; tnef -w %s; copiousoutput +application/msword; catdoc '%s' ; copiousoutput +application/octet-stream; unzip -v %s ; copiousoutput +application/pdf; mutt_bgrun pdfview %s; needsterminal; nametemplate=%s.pdf; test=test -n $WAYLAND_DISPLAY +application/pdf; pdftotext '%s' -; copiousoutput +application/pgp-keys; pgp -f < %s ; copiousoutput +application/vnd.ms-excel; excel2text %s; copiousoutput +application/x-vCalendar; mutt-remind +application/x-zip-compressed; unzip -v %s ; copiousoutput +application/vnd.openxmlformats-officedocument.wordprocessingml.document; mutt_bgrun libreoffice %s; test=sh -c 'test -n $DISPLAY' +application/vnd.openxmlformats-officedocument.wordprocessingml.document; docx2txt '%s' -; copiousoutput +application/msword; mutt_bgrun libreoffice %s; test=sh -c 'test -n $DISPLAY' +application/msword; catdoc '%s' ; copiousoutput +application/vnd.msword; mutt_bgrun libreoffice %s; test=sh -c 'test -n $DISPLAY' +application/vnd.msword; catdoc %s; copiousoutput +application/excel; mutt_bgrun libreoffice %s; test=sh -c 'test -n $DISPLAY' +application/excel; excel2text %s; copiousoutput +application/msexcel; mutt_bgrun libreoffice %s; test=sh -c 'test -n $DISPLAY' +application/msexcel; excel2text %s; copiousoutput +application/vnd.ms-excel; mutt_bgrun libreoffice %s; test=sh -c 'test -n $DISPLAY' +application/vnd.ms-excel; excel2text %s; copiousoutput +application/vnd.openxmlformats-officedocument.spreadsheetml.sheet; mutt_bgrun libreoffice %s; test=sh -c 'test -n $DISPLAY' +application/vnd.openxmlformats-officedocument.spreadsheetml.sheet; excel2text %s; copiousoutput +application/x-excel; mutt_bgrun libreoffice %s; test=sh -c 'test -n $DISPLAY' +application/x-excel; excel2text %s; copiousoutput +application/x-msexcel; mutt_bgrun libreoffice %s; test=sh -c 'test -n $DISPLAY' +application/x-msexcel; excel2text %s; copiousoutput +application/ms-Excel; mutt_bgrun libreoffice %s; test=sh -c 'test -n $DISPLAY' +application/ms-Excel; excel2text %s; copiousoutput +application/vnd.ms-powerpoint; mutt_bgrun libreoffice %s; test=sh -c 'test -n $DISPLAY' +application/vnd.ms-powerpoint; ppt2text %s; copiousoutput +application/x-mspowerpoint; mutt_bgrun libreoffice %s; test=sh -c 'test -n $DISPLAY' +application/x-mspowerpoint; ppt2text %s; copiousoutput +application/ppt; mutt_bgrun libreoffice %s; test=sh -c 'test -n $DISPLAY' +application/ppt; ppt2text %s; copiousoutput +application/x-loimpress; mutt_bgrun libreoffice %s; test=sh -c 'test -n $DISPLAY' +application/x-loimpress; ppt2text %s; copiousoutput +application/zip; unzip -v %s; copiousoutput +image/*; mutt_bgrun imv %s ; copiousoutput ; test=test -n $DISPLAY +text/directory; mutt.vcard.filter; copiousoutput +text/html; mutt_bgrun /home/don/bin/myweb %s; needsterminal; nametemplate=%s.html; test=test -n $DISPLAY +#text/html; lynx -assume_charset=%{charset} -display_charset=utf-8 -dump %s; nametemplate=%s.html; copiousoutput +#text/html; w3m -o display_link_number=1 -I %{charset} -T text/html; copiousoutput; +#text/html; elinks -no-connect 1 -force-html %s; copiousoutput +text/html; links -html-numbered-links 1 -dump -force-html %s; copiousoutput +text/x-vcard; mutt.vcard.filter; copiousoutput +video/mpeg; mutt_bgrun mpv '%s' ; copiousoutput; test=sh -c 'test -n $DISPLAY' +audio/x-wav; mutt_bgrun mpv '%s' ; copiousoutput; test=sh -c 'test -n $DISPLAY' diff --git a/home/common/files/neomutt/neomuttrc b/home/common/files/neomutt/neomuttrc new file mode 100644 index 0000000..dc2bb24 --- /dev/null +++ b/home/common/files/neomutt/neomuttrc @@ -0,0 +1,188 @@ +# vim: set syntax=muttrc +#unalternates * +alternates ((root|postmaster|don|duck|duckunix|donald.m.harper|dondmharper|dharper|harperdo|donald.harper)@(duckland.org|gmail.com|donharper.org|donaldharper.com|l1a.org)) +auto_view application/excel application/ms-Excel application/msexcel +auto_view application/msword application/vnd.msword +auto_view application/vnd.ms-excel application/x-excel +auto_view application/vnd.ms-powerpoint application/x-mspowerpoint application/ppt +auto_view application/x-msexcel +auto_view text/calendar application/ics +auto_view text/html +bind attach,compose Q exit +bind attach,pager i exit +bind editor complete-query +bind index x sync-mailbox +bind index,pager / vfolder-from-query +bind index,pager * flag-message +bind index,pager Y print-message +bind index,pager g change-folder +bind index,pager n next-entry +bind index,pager p previous-entry +bind index,pager R group-reply +bind pager next-line +bind pager previous-line +bind pager C copy-message +color indicator underline default default +hdr_order Subject: From: Date: Reply-To: To: Cc: Bcc: X-Scan-Grey: X-Bugzilla-Watch-Reason: X-Label: List-Id: +ignore * +macro attach K "unset wait_keyrm -f /tmp/events.ics/tmp/events.ics vkhal -k /tmp/events.ics" +macro attach,index,pager "!/home/don/bin/mbsync gmail-fast\n" "sync imap" +macro compose y "" 'Send message w/spell check' +macro generic \em ":source ~/.config/neomutt/neomuttrc\n" "reload ~/.muttrc" +macro index i "g!\n" "Goto Inbox" +macro index B 'toggle sidebar_visible' +macro index \t "g\r" +macro index,pager @ "=Inbox" "Ham it!" +macro index,pager A "khard add-email" "add the sender email address to khard" +macro index,pager F "mutt2task=Followup" "Follow up" +macro index,pager O mail2obsidian +macro index,pager Q ":set quit=yes\nq" "Quit mutt without asking" +macro index,pager S "=SPAM" "Spam it!" +macro index,pager W mail2onenote +macro index,pager w emailtask +macro index,pager y "" "Archive" +macro pager B 'toggle sidebar_visible' +macro pager l "ql" "Goto index and limit" +macro pager o ":set pipe_decode\n|urlscan -c -d\n:unset pipe_decode\n" "call urlscan to extract URLs out of a message" +macro pager x "ix" "exit pager and sync mailbox" +mailboxes =Inbox =news =mailing-lists =development =SPAM =Followup +reply-hook '~C don@donaldharper.com' 'my_hdr From: "Don Harper" ; my_hdr Reply-To: "Don Harper" ;set from="don@donaldharper.com"' +reply-hook '~C don@donharper.org' 'my_hdr From: "Don Harper" ; my_hdr Reply-To: "Don Harper" ;set from="don@donharper.org"' +reply-hook '~C donald.m.harper@gmail.com' 'my_hdr From: "Don Harper" ; my_hdr Reply-To: "Don Harper" ;set from="donald.m.harper@gmail.com"' +reply-hook '~C duckunix@gmail.com' 'my_hdr From: "Don Harper" ; my_hdr Reply-To: "Don Harper" ;set from="duckunix@gmail.com"' +reply-hook '~C vicky' 'set crypt_autosign=no; my_hdr From: "Don Harper" ; my_hdr Reply-To: "Don Harper" ;set from="don@donharper.org"' +reply-hook '~C @katyisd\\.org | ~C@KATYISD\\.ORG | ~C@ymcahouston.org' 'set from="don@donharper.org"' +save-hook '~f instructure.com' '+kisd' +save-hook '~f k12insight.com' '+kisd' +save-hook '~f noreply@sportsyou.com' '+kisd' +save-hook '~f katyisd.org' '+kisd' +save-hook '~f bbstheatre@gmail.com' '+kisd' +save-hook '~f parentlink.net' '+kisd' +save-hook '~f parents@uh.campusespmail.com' '+uh' +save-hook '~f utdallas.edu' '+utd' +save-hook '~f earnest.com' '+uh' +save-hook '~f uh.edu' '+uh' +save-hook . "+All-Mail" +send-hook '~C don@donaldharper.com' 'my_hdr From: "Don Harper" ; my_hdr Reply-To: "Don Harper" ;set from="don@donaldharper.com"' +send-hook '~C don@donharper.org' 'my_hdr From: "Don Harper" ; my_hdr Reply-To: "Don Harper" ;set from="don@donharper.org"' +send-hook '~C donald.m.harper@gmail.com' 'my_hdr From: "Don Harper" ; my_hdr Reply-To: "Don Harper" ;set from="donald.m.harper@gmail.com"' +send-hook '~C duck@duckland.org' 'my_hdr From: "Don Harper" ; my_hdr Reply-To: "Don Harper" ;set from="duck@duckland.org"' +send-hook '~C duckunix@gmail.com' 'my_hdr From: "Don Harper" ; my_hdr Reply-To: "Don Harper" ;set from="duckunix@gmail.com"' +send-hook '~C vicky' 'set crypt_autosign=no; my_hdr From: "Don Harper" ; my_hdr Reply-To: "Don Harper" ;set from="don@donharper.org"' +send-hook '~C@KATYISD\\.ORG ' 'set from="don@donharper.org"' +send-hook '~C@katyisd\\.org ' 'set from="don@donharper.org"' +send-hook '~C@ymcahouston\\.org' 'set from="don@donharper.org"' +set abort_nosubject=ask-no +set abort_unmodified=ask-yes +set arrow_cursor +set askcc +set attach_save_dir=~/Downloads +set beep=no +set delete=yes +set edit_headers=yes +set editor=nvim +set fast_reply +set fcc_attach +set from='don@donharper.org' +set hidden_host +set hostname="duckland.org" +set implicit_autoview=yes +set include=yes +set index_format="%3C %Z %[%m/%d %l:%M %P] %-20.20F %s" +set ispell="aspell -e -c" +set mailcap_path=~/.config/neomutt/mailcap +#set maildir_trash +set mbox_type=Maildir +set mh_purge +set mime_forward=ask-yes +set move=no +set pager_format="%<%r> | [%C/%m] %l lines | %-18.18n | %-30.30s" +set pager_index_lines=3 +set pager_stop +set postponed="+Drafts" +#set print_command='set -e; f=`mktemp --suffix=.pdf`; muttprint -P letter -p TO_FILE:"$f"; sleep 3 ; pdfview "$f"; rm "$f"' +set print_command='/home/don/bin/muttprint' +set query_command="echo %s | xargs khard email --parsable --" +set quit=ask-yes +set read_inc=25 +set realname="Don Harper" +set recall=ask-no +set record="+Sent-Mail" +set reverse_name=yes +set sendmail="/run/wrappers/bin/sendmail" +set sendmail_wait=3 +set sidebar_short_path +set sidebar_format = "%B %n %!" +set sidebar_new_mail_only +set sort=threads +set sort_aux=last-date-sent +set spoolfile=+Inbox +set status_format="---Mutt: %f [Msgs:%?M?%M/?%m%?n? New:%n?%?o? Post:%p?%?b? Inc:%b? ]-%>-(%P)---" +set status_on_top +set timeout=10 +set tmpdir="/var/tmp" +set trash="+Trash" +set use_envelope_from=yes +set wrap=-10 +set write_inc=25 +unauto_view * # remove all old entries +unhdr_order * # clear system defaults +unhdr_order * # clear system defaults +unignore Subject: From: Date: Reply-To: To: Cc: Bcc: X-Scan-Grey: X-Bugzilla-Watch-Reason: X-Label: List-Id: +unset auto_tag +unset confirm_append +unset mark_old +unset markers +unset prompt_after +unset sig_dashes +unset uncollapse_jump +unset wait_key +############################################################################### +# Dracula Theme for Mutt: https://draculatheme.com/ +# +# @author Paul Townsend + +# general ------------ foreground ---- background ----------------------------- +color error color231 color212 +color indicator color231 color241 +color markers color210 default +color message default default +color normal default default +color prompt default default +color search color84 default +color status color141 color236 +color tilde color231 default +color tree color141 default + +# message index ------ foreground ---- background ----------------------------- +color index color84 default "~F !~p !~P" +color index color117 default "~N !~T !~F !~p !~P !~D" +color index color212 default ~Q +color index color215 default "~T !~F !~p !~P" +color index color141 default ~v +color index color130 default "~h 'X-GitHub-Reason: author' ~N" +color index color229 default "~h 'X-GitHub-Reason: author'" +color index color228 default "~P" +color index color228 default "~sRelease" +color index color228 default "~sComic" +color index color228 default "~scomic" +color index color226 default ~F # flagged messages +color index color210 default ~D + +# message headers ---- foreground ---- background ----------------------------- +color hdrdefault color117 default +color header color231 default ^Subject:.* + +# message body ------- foreground ---- background ----------------------------- +color attachment color228 default +color body color231 default [\-\.+_a-zA-Z0-9]+@[\-\.a-zA-Z0-9]+ # email addresses +color body color228 default (https?|ftp)://[\-\.,/%~_:?&=\#a-zA-Z0-9]+ # URLs +color body color231 default (^|[[:space:]])\\*[^[:space:]]+\\*([[:space:]]|$) # *bold* text +color body color231 default (^|[[:space:]])_[^[:space:]]+_([[:space:]]|$) # _underlined_ text +color body color231 default (^|[[:space:]])/[^[:space:]]+/([[:space:]]|$) # /italic/ text +color quoted color61 default +color quoted1 color117 default +color quoted2 color84 default +color quoted3 color215 default +color quoted4 color212 default +color signature color212 default diff --git a/home/common/mail.nix b/home/common/mail.nix index e7f38b1..0be2ed0 100644 --- a/home/common/mail.nix +++ b/home/common/mail.nix @@ -11,25 +11,6 @@ }; }; - # xdg = { - # desktopEntries = { - # neomutt = { - # name = "Neomutt"; - # genericName = "Email Client"; - # comment = "Read and send emails"; - # exec = "neomutt %U"; - # icon = "mutt"; - # terminal = true; - # categories = [ "Network" "Email" "ConsoleOnly" ]; - # type = "Application"; - # mimeType = [ "x-scheme-handler/mailto" ]; - # }; - # }; - # mimeApps.defaultApplications = { - # "x-scheme-handler/mailto" = "neomutt.desktop"; - # }; - # }; - programs.notmuch = { enable = true; new = { @@ -43,337 +24,8 @@ }; }; - programs.neomutt = { - enable = true; - vimKeys = true; - sidebar.enable = false; - settings = { - abort_nosubject = "ask-no"; - abort_unmodified = "ask-yes"; - arrow_cursor = "yes"; - askcc = "yes"; - attach_save_dir = "~/Downloads"; - beep = "no"; - delete = "yes"; - edit_headers = "yes"; - editor = "nvim"; - fast_reply = "yes"; - fcc_attach = "yes"; - from = "'don@donharper.org'"; - hidden_host = "yes"; - hostname = "duckland.org"; - implicit_autoview = "yes"; - include = "yes"; - index_format = "%3C %Z %[%m/%d %l:%M %P] %-20.20F %s"; - ispell = "aspell -e -c"; - mailcap_path = "~/.config/neomutt/mailcap"; - mbox_type = "Maildir"; - mh_purge = "yes"; - mime_forward = "ask-yes"; - move = "no"; - pager_format = "%<%r> | [%C/%m] %l lines | %-18.18n | %-30.30s"; - pager_index_lines = "3"; - pager_stop = "yes"; - postponed = "+Drafts"; - print_command = "'/home/don/bin/muttprint'"; - query_command = "echo %s | xargs khard email --parsable --"; - quit = "ask-yes"; - read_inc = "25"; - realname = "Don Harper"; - recall = "ask-no"; - record = "+Sent-Mail"; - reverse_name = "yes"; - sendmail = "/run/wrappers/bin/sendmail"; - sendmail_wait = "3"; - sort = "threads"; - sort_aux = "last-date-sent"; - spoolfile = "+Inbox"; - status_format = "---Mutt: %f [Msgs:%?M?%M/?%m%?n? New:%n?%?o? Post:%p?%?b? Inc:%b? ]-%>-(%P)---"; - status_on_top = "yes"; - timeout = "10"; - tmpdir = "/var/tmp"; - trash = "+Trash"; - use_envelope_from = "yes"; - wrap = "-10"; - write_inc = "25"; - auto_tag = "no"; - confirm_append = "no"; - mark_old = "no"; - markers = "no"; - prompt_after = "no"; - sig_dashes = "no"; - uncollapse_jump = "no"; - wait_key = "no"; - }; - binds = [ - { - action = "exit"; - key = "Q"; - map = [ "attach" "compose" ]; - } - { - action = "exit"; - key = "i"; - map = [ "attach" "pager" ]; - } - { - action = "complete-query"; - key = ""; - map = [ "editor" ]; - } - { - action = "sync-mailbox"; - key = "x"; - map = [ "index" ]; - } - { - action = "vfolder-from-query"; - key = "/"; - map = [ "index" "pager" ]; - } - { - action = "flag-message"; - key = "*"; - map = [ "index" "pager" ]; - } - { - action = "print-message"; - key = "Y"; - map = [ "index" "pager" ]; - } - { - action = "change-folder"; - key = "g"; - map = [ "index" "pager" ]; - } - { - action = "next-entry"; - key = "n"; - map = [ "index" "pager" ]; - } - { - action = "previous-entry"; - key = "p"; - map = [ "index" "pager" ]; - } - { - action = "group-reply"; - key = "R"; - map = [ "index" "pager" ]; - } - { - action = "next-line"; - key = ""; - map = [ "pager" ]; - } - { - action = "previous-line"; - key = ""; - map = [ "pager" ]; - } - { - action = "copy-message"; - key = "C"; - map = [ "pager" ]; - } - ]; - macros = - [ - { - action = "unset wait_keyrm -f /tmp/events.ics/tmp/events.ics vkhal -k /tmp/events.ics"; - key = "K"; - map = [ "attach" ]; - } - { - action = "!/home/don/bin/mbsync gmail-fast\n"; - key = ""; - map = [ "attach" "index" "pager" ]; - } - { - action = ""; - key = "y"; - map = [ "compose" ]; - } - { - action = ":source ~/.config/neomutt/neomuttrc\n"; - key = "\em"; - map = [ "generic" ]; - } - { - action = "g!\n"; - key = "i"; - map = [ "index" ]; - } - { - action = "toggle sidebar_visible"; - key = "B"; - map = [ "index" ]; - } - { - action = "g\r"; - key = "\t"; - map = [ "index" ]; - } - { - action = "=Inbox"; - key = "@"; - map = [ "index" "pager" ]; - } - { - action = "khard add-email"; - key = "A"; - map = [ "index" "pager" ]; - } - { - action = "mutt2task=Followup"; - key = "F"; - map = [ "index" "pager" ]; - } - { - action = "mail2obsidian"; - key = "O"; - map = [ "index" "pager" ]; - } - { - action = ":set quit=yes\nq"; - key = "Q"; - map = [ "index" "pager" ]; - } - { - action = "=SPAM"; - key = "S"; - map = [ "index" "pager" ]; - } - { - action = "mail2onenote"; - key = "W"; - map = [ "index" "pager" ]; - } - { - action = "emailtask"; - key = "w"; - map = [ "index" "pager" ]; - } - { - action = ""; - key = "y"; - map = [ "index" "pager" ]; - } - { - action = "toggle sidebar_visible"; - key = "B"; - map = [ "pager" ]; - } - { - action = "ql"; - key = "l"; - map = [ "pager" ]; - } - { - action = ":set pipe_decode\n|urlscan -c -d\n:unset pipe_decode\n"; - key = "o"; - map = [ "pager" ]; - } - { - action = "ix"; - key = "x"; - map = [ "pager" ]; - } - ]; - extraConfig = - '' - alternates ((root|postmaster|don|duck|duckunix|donald.m.harper|dondmharper|dharper|harperdo|donald.harper)@(duckland.org|gmail.com|donharper.org|donaldharper.com|l1a.org)) - auto_view application/excel application/ms-Excel application/msexcel - auto_view application/msword application/vnd.msword - auto_view application/vnd.ms-excel application/x-excel - auto_view application/vnd.ms-powerpoint application/x-mspowerpoint application/ppt - auto_view application/x-msexcel - auto_view text/calendar application/ics - auto_view text/html - color indicator underline default default - hdr_order Subject: From: Date: Reply-To: To: Cc: Bcc: X-Scan-Grey: X-Bugzilla-Watch-Reason: X-Label: List-Id: - ignore * - mailboxes =Inbox =news =mailing-lists =development =SPAM =Followup - reply-hook '~C don@donaldharper.com' 'my_hdr From: "Don Harper" ; my_hdr Reply-To: "Don Harper" ;set from="don@donaldharper.com"' - reply-hook '~C don@donharper.org' 'my_hdr From: "Don Harper" ; my_hdr Reply-To: "Don Harper" ;set from="don@donharper.org"' - reply-hook '~C donald.m.harper@gmail.com' 'my_hdr From: "Don Harper" ; my_hdr Reply-To: "Don Harper" ;set from="donald.m.harper@gmail.com"' - reply-hook '~C duckunix@gmail.com' 'my_hdr From: "Don Harper" ; my_hdr Reply-To: "Don Harper" ;set from="duckunix@gmail.com"' - reply-hook '~C vicky' 'set crypt_autosign=no; my_hdr From: "Don Harper" ; my_hdr Reply-To: "Don Harper" ;set from="don@donharper.org"' - save-hook '~f noreply@sportsyou.com' '+kisd' - save-hook '~f instructure.com' '+kisd' - save-hook '~f k12insight.com' '+kisd' - save-hook '~f katyisd.org' '+kisd' - save-hook '~f bbstheatre@gmail.com' '+kisd' - save-hook '~f parentlink.net' '+kisd' - save-hook '~f parents@uh.campusespmail.com' '+uh' - save-hook '~f utdallas.edu' '+utd' - save-hook '~f earnest.com' '+uh' - save-hook '~f uh.edu' '+uh' - save-hook . "+All-Mail" - send-hook '~C don@donaldharper.com' 'my_hdr From: "Don Harper" ; my_hdr Reply-To: "Don Harper" ;set from="don@donaldharper.com"' - send-hook '~C don@donharper.org' 'my_hdr From: "Don Harper" ; my_hdr Reply-To: "Don Harper" ;set from="don@donharper.org"' - send-hook '~C donald.m.harper@gmail.com' 'my_hdr From: "Don Harper" ; my_hdr Reply-To: "Don Harper" ;set from="donald.m.harper@gmail.com"' - send-hook '~C duck@duckland.org' 'my_hdr From: "Don Harper" ; my_hdr Reply-To: "Don Harper" ;set from="duck@duckland.org"' - send-hook '~C duckunix@gmail.com' 'my_hdr From: "Don Harper" ; my_hdr Reply-To: "Don Harper" ;set from="duckunix@gmail.com"' - send-hook '~C vicky' 'set crypt_autosign=no; my_hdr From: "Don Harper" ; my_hdr Reply-To: "Don Harper" ;set from="don@donharper.org"' - send-hook '~C@KATYISD\\.ORG ' 'set from="don@donharper.org"' - send-hook '~C@katyisd\\.org ' 'set from="don@donharper.org"' - send-hook '~C@ymcahouston\\.org' 'set from="don@donharper.org"' - unauto_view * # remove all old entries - unhdr_order * # clear system defaults - unhdr_order * # clear system defaults - unignore Subject: From: Date: Reply-To: To: Cc: Bcc: X-Scan-Grey: X-Bugzilla-Watch-Reason: X-Label: List-Id: - ############################################################################### - # Dracula Theme for Mutt: https://draculatheme.com/ - # - # @author Paul Townsend - - # general ------------ foreground ---- background ----------------------------- - color error color231 color212 - color indicator color231 color241 - color markers color210 default - color message default default - color normal default default - color prompt default default - color search color84 default - color status color141 color236 - color tilde color231 default - color tree color141 default - - # message index ------ foreground ---- background ----------------------------- - color index color84 default "~F !~p !~P" - color index color117 default "~N !~T !~F !~p !~P !~D" - color index color212 default ~Q - color index color215 default "~T !~F !~p !~P" - color index color141 default ~v - color index color130 default "~h 'X-GitHub-Reason: author' ~N" - color index color229 default "~h 'X-GitHub-Reason: author'" - color index color228 default "~P" - color index color228 default "~sRelease" - color index color228 default "~sComic" - color index color228 default "~scomic" - color index color226 default ~F # flagged messages - color index color210 default ~D - - # message headers ---- foreground ---- background ----------------------------- - color hdrdefault color117 default - color header color231 default ^Subject:.* - - # message body ------- foreground ---- background ----------------------------- - color attachment color228 default - color body color231 default [\-\.+_a-zA-Z0-9]+@[\-\.a-zA-Z0-9]+ # email addresses - color body color228 default (https?|ftp)://[\-\.,/%~_:?&=\#a-zA-Z0-9]+ # URLs - color body color231 default (^|[[:space:]])\\*[^[:space:]]+\\*([[:space:]]|$) # *bold* text - color body color231 default (^|[[:space:]])_[^[:space:]]+_([[:space:]]|$) # _underlined_ text - color body color231 default (^|[[:space:]])/[^[:space:]]+/([[:space:]]|$) # /italic/ text - color quoted color61 default - color quoted1 color117 default - color quoted2 color84 default - color quoted3 color215 default - color quoted4 color212 default - color signature color212 default - ''; - }; + xdg.configFile."neomutt/neomuttrc".source = ./files/neomutt/neomuttrc; + xdg.configFile."neomutt/mailcap".source = ./files/neomutt/mailcap; home.file.".signature".text = ''