X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/c3a03e540dae7adafed0124b1a83c63436b597d7..8b4070b51e98191e73b51fc28c42b8a10e0d92dc:/mutt/hooks diff --git a/mutt/hooks b/mutt/hooks index fa323c2..55a6287 100644 --- a/mutt/hooks +++ b/mutt/hooks @@ -1,6 +1,20 @@ # vim: ft=muttrc +reply-hook . source ~/.mutt/accounts/gmail +reply-hook "%L chakra" source ~/.mutt/accounts/chakra +reply-hook "%L unimaas" source ~/.mutt/accounts/unimaas + folder-hook . source ~/.mutt/accounts/gmail folder-hook chakra source ~/.mutt/accounts/chakra folder-hook unimaas source ~/.mutt/accounts/unimaas folder-hook * "exec collapse-all" + +# limit inbox to Unread and Flagged mails +folder-hook inbox push '=(=U|=F)' +# delete mails older than 3 months +folder-hook inbox push '!~(~U|~F|~d<3m)' + +# limit youtube to Unread and Flagged mails +folder-hook youtube push '=(=U|=F)' +# delete other mails +folder-hook youtube push '!~(~U|~F)'