X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;ds=sidebyside;f=email%2F.mutt%2Fmuttrc;h=e0a8bb1ac3d96098aad2735fcf26afde1916bfba;hb=907122ffdf547aaf278270f2621bfc1d1112bf74;hp=b197c422859038d23739e515adaf578f3944be30;hpb=4ec32116d32f8b4457fffc431b9c2828be54e19c;p=dotfiles.git diff --git a/email/.mutt/muttrc b/email/.mutt/muttrc index b197c42..e0a8bb1 100644 --- a/email/.mutt/muttrc +++ b/email/.mutt/muttrc @@ -15,12 +15,16 @@ source ~/.mutt/mailboxes # Receiving, sending and searching set sendmail="/home/mrl/.mutt/checkattach.sh msmtp -C /home/mrl/.config/msmtp/config" set send_charset="us-ascii:utf-8" -macro index,pager $ "offlineimap &" "Force refresh" +macro index,pager $ "/home/mrl/.mutt/force_sync.sh" "Force refresh" macro attach B "firefox \"data:text/html;base64,$(base64 -w 0 <&0)\"" + +macro compose 1 "f^UMart Lubbers ps" send2-hook "~f mart@martlubbers.net" "set sendmail=\"msmtp -C /home/mrl/.config/msmtp/config -a net\"" + +macro compose 2 "f^UMart Lubbers pc" send2-hook "~f m.lubbers@cs.ru.nl" "set sendmail=\"msmtp -C /home/mrl/.config/msmtp/config -a ru\"" send2-hook "~f m.lubbers@science.ru.nl" "set sendmail=\"msmtp -C /home/mrl/.config/msmtp/config -a ru\"" -send2-hook "~f mart@cs.ru.nl" "set sendmail=\"msmtp -C /home/mrl/.config/msmtp/config -a ru\"" +send2-hook "~f mart@cs.ru.nl" "set sendmail=\"msmtp -C /home/mrl/.config/msmtp/config -a ru\"" #folder-hook . push "~=$" @@ -58,7 +62,9 @@ set mailcap_sanitize=yes # w3m --dump auto_view text/html # pdftotext -auto_view application/pdf +auto_view application/pdf +# khal +auto_view application/ics # libreoffice --cat auto_view application/vnd.openxmlformats-officedocument.wordprocessingml.document auto_view application/msword