Display total mail number

This commit is contained in:
Thomas Dehaeze 2020-04-02 22:05:32 +02:00
parent 3d2e249c12
commit 75c3f12cec

View File

@ -224,7 +224,7 @@ https://www.digitalocean.com/community/tutorials/how-to-use-systemctl-to-manage-
# =============================================================
# Notification
if [ "$new" -gt 0 ]; then
dunstify --replace=98465 'New mail' " $esrf_new  $gmail_new  $ulg_new  $uliege_new"
dunstify --replace=98465 'Mails ' "$(($gmail_new+$esrf_new+$ulg_new+$uliege_new)) new mail(s)"
fi
# =============================================================