Add notify-send for new mail

This commit is contained in:
flyingscorpio@clevo 2023-04-06 21:08:52 +02:00
parent 1ee9d56222
commit 87ab9b799e

View file

@ -3,7 +3,7 @@ Description=Mailbox synchronization service
[Service]
Type=oneshot
ExecStart=/usr/bin/mbsync -Va
ExecStart=/usr/bin/mbsync -a && find ~/.local/share/mail -type d -name new -not -empty -mmin -5 -exec notify-send {} \;
[Install]
WantedBy=default.target