Cleanup notification

This commit is contained in:
Valentin Brandl 2023-05-12 18:26:36 +02:00
parent dccd1a7407
commit 26873f6f20
Signed by: vbrandl
GPG Key ID: CAD4DA1A789125F9

View File

@ -38,12 +38,12 @@ let
enable = true;
/* TODO: which boxes? */
boxes = [ "Inbox" ];
onNotify = "${pkgs.isync}/bin/mbsync ${configName} && ${pkgs.libnotify}/bin/notify-send -a mail '${configName}: new in %s'";
/* onNotifyPost = { */
/* mail = "${pkgs.libnotify}/bin/notify-send -a mail '${configName}: new in %s'"; */
/* /1* update = "${pkgs.libnotify}/bin/notify-send -a mail '${configName}: update %s'"; *1/ */
/* /1* expunge = "${pkgs.libnotify}/bin/notify-send -a mail '${configName}: expunge %s'"; *1/ */
/* }; */
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'";
};
};
mbsync = {
enable = true;