More mail stuff

This commit is contained in:
2023-05-27 02:11:29 -07:00
parent b613c5b5c5
commit 06234cfeb9
5 changed files with 124 additions and 118 deletions

View File

@ -1,11 +0,0 @@
[Unit]
Description=Sync mail with mbsync and notmuch
[Service]
Type=oneshot
ExecStart=-mbsync -a ; notmuch new
RuntimeMaxSec=3m
Restart=on-failure
[Install]
WantedBy=default.target

View File

@ -0,0 +1,11 @@
[Unit]
Description=Sync mail with mbsync and send notifications
[Service]
Type=oneshot
ExecStart=-mbsync -a ; %h/scripts/mail/notify-mail.hy %h/.mail/%i
RuntimeMaxSec=3m
Restart=on-failure
[Install]
WantedBy=default.target

View File

@ -1,5 +1,5 @@
[Unit]
Description=Sync mail every minute with mbsync and notmuch
Description=Sync mail every minute with mbsync and send notifications
[Timer]
OnCalendar=*-*-* *:*:00