delete threads if one of the mails is deleted

This commit is contained in:
Ingolf Wagner 2021-03-15 08:31:09 +01:00
parent e6afa0199e
commit 5fff4b4bb4
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B

View file

@ -720,6 +720,8 @@ in {
${notmuchTaggingNew} ${notmuchTaggingNew}
echo "mute threads" echo "mute threads"
${pkgs.notmuch}/bin/notmuch tag +muted $(${pkgs.notmuch}/bin/notmuch search --output=threads tag:muted) ${pkgs.notmuch}/bin/notmuch tag +muted $(${pkgs.notmuch}/bin/notmuch search --output=threads tag:muted)
echo "delete threads"
${pkgs.notmuch}/bin/notmuch tag +deleted $(${pkgs.notmuch}/bin/notmuch search --output=threads tag:deleted)
''; '';
}; };
systemd.timers.fetchmail = { systemd.timers.fetchmail = {