]> git.rmz.io Git - dotfiles.git/blobdiff - mutt/hooks
Other changes at cadscan (with the ones I want to keep stripped)
[dotfiles.git] / mutt / hooks
index 43f61c1a567bcdb340701b63c64bccaed640e34f..ccc23344f80c81557d96f62905a6175553845326 100644 (file)
@@ -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 '<limit>=(=U|=F)<enter>'
 # delete mails older than 3 months
 folder-hook inbox push '<delete-pattern>!~(~U|~F|~d<3m)<enter>'
+
+# limit youtube to Unread and Flagged mails
+folder-hook youtube push '<limit>=(=U|=F)<enter>'
+# delete other mails
+folder-hook youtube push '<delete-pattern>!~(~U|~F)<enter>'