Use mbsync wrapper with post-sync hook
This commit is contained in:
parent
0912e29255
commit
7653bbd33d
@ -22,7 +22,7 @@ let
|
||||
realName = displayName;
|
||||
imap.host = host;
|
||||
smtp.host = host;
|
||||
passwordCommand = "${pkgs.libsecret}/bin/secret-tool lookup email ${address}";
|
||||
passwordCommand = "${pkgs.libsecret}/bin/secret-tool lookup email ${address}";
|
||||
signature = {
|
||||
text = displayName;
|
||||
showSignature = "append";
|
||||
@ -38,7 +38,7 @@ let
|
||||
enable = true;
|
||||
/* TODO: which boxes? */
|
||||
boxes = [ "Inbox" ];
|
||||
onNotify = "${pkgs.isync}/bin/mbsync ${configName}";
|
||||
onNotify = "mbsync ${configName}";
|
||||
onNotifyPost = "${pkgs.libnotify}/bin/notify-send -a mail '${configName}: new in %s'";
|
||||
};
|
||||
mbsync = {
|
||||
|
Loading…
Reference in New Issue
Block a user