Cleanup notification
This commit is contained in:
parent
dccd1a7407
commit
26873f6f20
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user