dotfiles/polybar/.config
Marty Oehme b29570327b
polybar: Add simple mail display script module
The module will pick up the current state of the systemd mbsync.timer
and display an according icon (sleepy bell if auto-sync is off, mail
icon if auto-sync is on).

It will use notmuch counters to show only unread mails in the inbox,
which generally constitute the 'new' mails one wants to know about.

It will not display anything if it did not find 'new' mails.

Lastly, right-clicking allows starting the auto-sync timer and left
clicking allows to stop it.

FIXME: The icon will only update on the next update interval of the
module itself (which is set at 300 seconds). That means, after clicking
the icon to start or stop the auto-sync, the actual state will not be
reflected by the icon for a couple of minutes.
2020-09-24 21:07:46 +02:00
..
polybar polybar: Add simple mail display script module 2020-09-24 21:07:46 +02:00