Commit 04417593c82e

Vincent Demeester <vincent@sbr.pm>
2019-02-28 09:48:22
mails: notify when the mail are synced
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 968091a
Changed files (1)
modules
profiles
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;
     };