diff options
Diffstat (limited to '')
| -rw-r--r-- | modules/email.home/mailbox-sync.module.nix (renamed from modules/email/mailbox-sync.module.nix) | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/email/mailbox-sync.module.nix b/modules/email.home/mailbox-sync.module.nix index ad5f94e..bb7ee9d 100644 --- a/modules/email/mailbox-sync.module.nix +++ b/modules/email.home/mailbox-sync.module.nix @@ -10,10 +10,10 @@ let notify-script = '' emails=$(${notmuch} search --format=json '${cfg.notify.filter}' \ - | ${jq} -r '.[0:5] | map("* " + .subject + " (tag: " + (.tags | join(" ")) + ")") | join("\n\n")'); + | ${jq} -r '.[0:5] | map("— " + .subject + "\n" + .authors + "\n(tag: " + (.tags | join(" ")) + ")") | join("\n\n")'); # Notify - ${notify-send} --app-name=notmuch "New mail baybey ($new_mail_count)" "$emails"; + ${notify-send} --app-name=notmuch "Read your mail dumbass ($new_mail_count)" "\n$emails"; ''; sync-script = '' |
