show the number of unread mail in i3bar

This commit is contained in:
Bruno Carlin 2020-06-16 07:09:08 +02:00
parent 264d10b02d
commit d66a19b62e
5 changed files with 28 additions and 0 deletions

View file

@ -0,0 +1 @@
/home/bca/.config/systemd/user/update-mail-count.timer

View file

@ -0,0 +1,6 @@
[Unit]
Description=Update mail count for display in i3status
[Service]
Type=oneshot
ExecStart=/home/bca/.local/bin/update-mail-count

View file

@ -0,0 +1,11 @@
[Unit]
Description=mail count timer
[Timer]
OnBootSec=1m
OnUnitActiveSec=1m
Persistent=true
Unit=update-mail-count.service
[Install]
WantedBy=timers.target