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;
|
||||
boxes = [ "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;
|
||||
neomutt = {
|
||||
|
|
|
@ -93,7 +93,7 @@ pkgs.writeText "configuration.toml" ''
|
|||
block = "custom"
|
||||
json = true
|
||||
command = "${mail-status}"
|
||||
interval = 10
|
||||
interval = 1
|
||||
|
||||
[[block]]
|
||||
block = "time"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue