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? */
boxes = [ "Inbox" ];
onNotify = "${pkgs.isync}/bin/mbsync ${configName}";
onNotifyPost = {
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'";
};
onNotifyPost = "${pkgs.libnotify}/bin/notify-send -a mail '${configName}: new in %s'";
};
mbsync = {
enable = true;