Change imapnotify command and message
This commit is contained in:
parent
301ea337d0
commit
bd878e1eaa
|
@ -48,9 +48,9 @@
|
|||
imapnotify = {
|
||||
enable = lib.mkDefault accountEnabled;
|
||||
boxes = [ "INBOX" ];
|
||||
onNotify = "${pkgs.isync}/bin/mbsync --pull-new proton:INBOX";
|
||||
onNotify = "${pkgs.isync}/bin/mbsync proton:INBOX";
|
||||
onNotifyPost =
|
||||
"${pkgs.libnotify}/bin/notify-send 'Proton: New mail arrived'";
|
||||
"${pkgs.libnotify}/bin/notify-send 'Proton: Inbox updated'";
|
||||
extraConfig = {
|
||||
wait = 300;
|
||||
tls = false;
|
||||
|
@ -89,9 +89,9 @@
|
|||
imapnotify = {
|
||||
enable = lib.mkDefault accountEnabled;
|
||||
boxes = [ "INBOX" ];
|
||||
onNotify = "${pkgs.isync}/bin/mbsync --pull-new icloud:INBOX";
|
||||
onNotify = "${pkgs.isync}/bin/mbsync icloud:INBOX";
|
||||
onNotifyPost =
|
||||
"${pkgs.libnotify}/bin/notify-send 'iCloud: New mail arrived'";
|
||||
"${pkgs.libnotify}/bin/notify-send 'iCloud: Inbox updated'";
|
||||
extraConfig.wait = 300;
|
||||
};
|
||||
mbsync = {
|
||||
|
@ -129,9 +129,9 @@
|
|||
imapnotify = {
|
||||
enable = lib.mkDefault accountEnabled;
|
||||
boxes = [ "INBOX" ];
|
||||
onNotify = "${pkgs.isync}/bin/mbsync --pull-new ukaea:INBOX";
|
||||
onNotify = "${pkgs.isync}/bin/mbsync ukaea:INBOX";
|
||||
onNotifyPost =
|
||||
"${pkgs.libnotify}/bin/notify-send 'UKAEA: New mail arrived'";
|
||||
"${pkgs.libnotify}/bin/notify-send 'UKAEA: Inbox updated'";
|
||||
extraConfig = {
|
||||
wait = 300;
|
||||
tls = false;
|
||||
|
|
Loading…
Reference in a new issue