Skip to main content

A simple Notmuch notification tool

Project description

Not Much Fire

A simple Notmuch notification tool

Installation

Install it globally with pip:

$ pip install not-much-fire

Execute always the most recent version with pipx:

$ pipx run not-much-fire

Usage

$ not-much-fire --help

Usage: not-much-fire [OPTIONS]

  A simple Notmuch notification tool.

  Requests Notmuch for new unread messages and send notifications to the
  desktop environment. Already notified messages get not shown again for a
  whole day. If they remain unread, they get are handled again on the next
  day.

Options:
  --notmuch-query <query>  Used to query the unread messages from the Notmuch
                          database  [default: is:unread and is:inbox]
  --help                   Show this message and exit.

Notmuch Hook

To get notification each time after notmuch has updated its database, add a new hook. Therefore add a new line like the following into $DATABASE/.notmuch/hooks/post-new.

#!/bin/bash
not-much-fire
# or: pipx run not-much-fire

Checkout man notmuch-hooks to get further information about hooks and notmuch. I recommend to set the $NOTMUCH_CONFIG environment variable to reach compatibility with the XDG base directory standard.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

not-much-fire-0.1.2.tar.gz (4.0 kB view hashes)

Uploaded Source

Built Distribution

not_much_fire-0.1.2-py3-none-any.whl (4.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page