aboutsummaryrefslogtreecommitdiffstats

A simple script that counts the number of unread emails in my inbox for display in a status bar like Polybar.

1. Requirements

This script needs scsh. It also optionally needs notmuch. If notmuch isn't installed, it needs findutils instead.

2. Installation

Put the count-emails script anywhere in your $PATH.

3. Usage

Run the count-emails script without arguments. If notmuch is installed it just asks it how many emails there are tagged inbox and unread, otherwise it needs one or more Maildir-format directories to exist in $HOME/documents/mail.