Add notify-send for new mail
This commit is contained in:
parent
1ee9d56222
commit
87ab9b799e
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue