Use mbsync wrapper with post-sync hook
This commit is contained in:
parent
0912e29255
commit
7653bbd33d
@ -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 = {
|
||||||
|
Loading…
Reference in New Issue
Block a user