Use mbsync wrapper with post-sync hook

This commit is contained in:
Valentin Brandl 2023-05-20 13:34:11 +02:00
parent 0912e29255
commit 7653bbd33d
Signed by: vbrandl
GPG Key ID: CAD4DA1A789125F9

View File

@ -38,7 +38,7 @@ let
enable = true; enable = true;
/* TODO: which boxes? */ /* TODO: which boxes? */
boxes = [ "Inbox" ]; boxes = [ "Inbox" ];
onNotify = "${pkgs.isync}/bin/mbsync ${configName}"; onNotify = "mbsync ${configName}";
onNotifyPost = "${pkgs.libnotify}/bin/notify-send -a mail '${configName}: new in %s'"; onNotifyPost = "${pkgs.libnotify}/bin/notify-send -a mail '${configName}: new in %s'";
}; };
mbsync = { mbsync = {