X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/8a5f4add378f794a5e1bdfd7b552d53aa3d1efa9..refs/heads/cadscan:/mutt/hooks diff --git a/mutt/hooks b/mutt/hooks index 43f61c1..ccc2334 100644 --- a/mutt/hooks +++ b/mutt/hooks @@ -2,10 +2,12 @@ reply-hook . source ~/.mutt/accounts/gmail reply-hook "%L chakra" source ~/.mutt/accounts/chakra reply-hook "%L unimaas" source ~/.mutt/accounts/unimaas +reply-hook "%L cadscan" source ~/.mutt/accounts/cadscan folder-hook . source ~/.mutt/accounts/gmail folder-hook chakra source ~/.mutt/accounts/chakra folder-hook unimaas source ~/.mutt/accounts/unimaas +folder-hook cadscan source ~/.mutt/accounts/cadscan folder-hook * "exec collapse-all" @@ -13,3 +15,8 @@ folder-hook * "exec collapse-all" 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)'