commit 04417593c82e96f6b26bedd39f2ec2cf5e8d7ede
parent 968091aa8efb96422a9506f419c6bff2d3be282f
Author: Vincent Demeester <vincent@sbr.pm>
Date: Thu, 28 Feb 2019 09:48:22 +0100
mails: notify when the mail are synced
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/modules/profiles/mails.nix b/modules/profiles/mails.nix
@@ -89,11 +89,13 @@ in
export NOTMUCH_CONFIG=${config.xdg.configHome}/notmuch/notmuchrc
export NMBGIT=${config.xdg.dataHome}/notmuch/nmbug
-
+
${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"
+
+ ${pkgs.libnotify}/bin/notify-send "Mails synced 📫"
'';
executable = true;
};