Fix post notify

This commit is contained in:
Valentin Brandl 2023-05-13 12:51:24 +02:00
parent 26873f6f20
commit db0ae443ac
Signed by: vbrandl
GPG Key ID: CAD4DA1A789125F9

View File

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