Adjust mbsync timing, emacs mu4e check now pulls inboxes
This commit is contained in:
parent
8e9d6e2414
commit
c10cee9c76
|
@ -17,7 +17,7 @@
|
|||
services = {
|
||||
mbsync = {
|
||||
enable = true;
|
||||
frequency = "*:0/15";
|
||||
frequency = "*:0/30";
|
||||
};
|
||||
imapnotify.enable = true;
|
||||
};
|
||||
|
@ -49,9 +49,7 @@
|
|||
imapnotify = {
|
||||
enable = lib.mkDefault accountEnabled;
|
||||
boxes = [ "INBOX" ];
|
||||
onNotify = "${pkgs.isync}/bin/mbsync proton:INBOX";
|
||||
onNotifyPost =
|
||||
"${pkgs.libnotify}/bin/notify-send 'Proton: Inbox updated'";
|
||||
onNotify = "${pkgs.isync}/bin/mbsync proton";
|
||||
extraConfig = {
|
||||
wait = 300;
|
||||
tls = false;
|
||||
|
@ -90,9 +88,7 @@
|
|||
imapnotify = {
|
||||
enable = lib.mkDefault accountEnabled;
|
||||
boxes = [ "INBOX" ];
|
||||
onNotify = "${pkgs.isync}/bin/mbsync icloud:INBOX";
|
||||
onNotifyPost =
|
||||
"${pkgs.libnotify}/bin/notify-send 'iCloud: Inbox updated'";
|
||||
onNotify = "${pkgs.isync}/bin/mbsync icloud";
|
||||
extraConfig.wait = 300;
|
||||
};
|
||||
mbsync = {
|
||||
|
@ -130,9 +126,7 @@
|
|||
imapnotify = {
|
||||
enable = lib.mkDefault accountEnabled;
|
||||
boxes = [ "INBOX" ];
|
||||
onNotify = "${pkgs.isync}/bin/mbsync outlook:INBOX";
|
||||
onNotifyPost =
|
||||
"${pkgs.libnotify}/bin/notify-send 'Outlook: Inbox updated'";
|
||||
onNotify = "${pkgs.isync}/bin/mbsync outlook";
|
||||
extraConfig = {
|
||||
wait = 300;
|
||||
tls = false;
|
||||
|
|
|
@ -83,7 +83,7 @@
|
|||
|
||||
;; mail settings
|
||||
(after! mu4e
|
||||
(setq mu4e-get-mail-command "true"
|
||||
(setq mu4e-get-mail-command "mbsync --pull-new inboxes"
|
||||
mu4e-update-interval 300
|
||||
mu4e-sent-messages-behavior 'sent
|
||||
mu4e-attachment-dir "~/Downloads"
|
||||
|
|
Loading…
Reference in a new issue