Small mail tweaks
This commit is contained in:
parent
d332f80a8f
commit
bac2b111f5
2 changed files with 2 additions and 2 deletions
|
@ -21,7 +21,7 @@ let
|
||||||
enable = true;
|
enable = true;
|
||||||
boxes = [ "INBOX" ];
|
boxes = [ "INBOX" ];
|
||||||
onNotify = "${pkgs.offlineimap}/bin/offlineimap -a ${name} -f INBOX";
|
onNotify = "${pkgs.offlineimap}/bin/offlineimap -a ${name} -f INBOX";
|
||||||
onNotifyPost = { mail = "${pkgs.libnotify}/bin/notify-send 'New ${name} mail arrived'"; };
|
onNotifyPost = { mail = "${pkgs.libnotify}/bin/notify-send -t 5000 'New ${name} mail arrived' \"$(${pkgs.mblaze}/bin/mlist -N ~/mail/*/INBOX | wc -l) unseen mails\""; };
|
||||||
};
|
};
|
||||||
msmtp.enable = true;
|
msmtp.enable = true;
|
||||||
neomutt = {
|
neomutt = {
|
||||||
|
|
|
@ -93,7 +93,7 @@ pkgs.writeText "configuration.toml" ''
|
||||||
block = "custom"
|
block = "custom"
|
||||||
json = true
|
json = true
|
||||||
command = "${mail-status}"
|
command = "${mail-status}"
|
||||||
interval = 10
|
interval = 1
|
||||||
|
|
||||||
[[block]]
|
[[block]]
|
||||||
block = "time"
|
block = "time"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue