Commit 242ceb802437

Vincent Demeester <vincent@sbr.pm>
2019-02-25 11:09:05
mails: remove Inbox tag if not in Inbox folder
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 579aa61
Changed files (1)
modules
profiles
modules/profiles/mails.nix
@@ -93,6 +93,7 @@ in
       ${pkgs.notmuch}/bin/notmuch new
       ${pkgs.afew}/bin/afew -C ${config.xdg.configHome}/notmuch/notmuchrc --tag --new -v
       ${pkgs.notmuch}/bin/notmuch tag -inbox tag:inbox
+      ${pkgs.notmuch}/bin/notmuch tag -Inbox "NOT folder:Inbox and tag:Inbox"
       '';
       executable = true;
     };