Use mbsync wrapper with post-sync hook
This commit is contained in:
parent
0912e29255
commit
7653bbd33d
@ -22,7 +22,7 @@ let
|
|||||||
realName = displayName;
|
realName = displayName;
|
||||||
imap.host = host;
|
imap.host = host;
|
||||||
smtp.host = host;
|
smtp.host = host;
|
||||||
passwordCommand = "${pkgs.libsecret}/bin/secret-tool lookup email ${address}";
|
passwordCommand = "${pkgs.libsecret}/bin/secret-tool lookup email ${address}";
|
||||||
signature = {
|
signature = {
|
||||||
text = displayName;
|
text = displayName;
|
||||||
showSignature = "append";
|
showSignature = "append";
|
||||||
@ -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