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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file not-much-fire-0.1.2.tar.gz.

File metadata

  • Download URL: not-much-fire-0.1.2.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/0.12.17 CPython/3.7.4 Linux/5.3.6-arch1-1-ARCH

File hashes

Hashes for not-much-fire-0.1.2.tar.gz
Algorithm Hash digest
SHA256 d53c8e7de3467542ce866c4e3eb829c7c25d17e920549d755000d2ea58b5a86a
MD5 87f52f2162e738dd9f4802def241471b
BLAKE2b-256 354abcad0e6dee478b0c2b92418fda473f508abec6b292a11e9434d1c5945ca4

See more details on using hashes here.

File details

Details for the file not_much_fire-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: not_much_fire-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 4.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/0.12.17 CPython/3.7.4 Linux/5.3.6-arch1-1-ARCH

File hashes

Hashes for not_much_fire-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 af7a1362d7c97a7a99ff8145152df65204fee91dcf47969252cdee1f7061e998
MD5 8dfb2bcbc4165d46d0ceedd8f9117d4d
BLAKE2b-256 01e6661dd8d7d7730d581ec60ac8b1c772b1ed5d5224c787cf0d99ae9f060e0a

See more details on using hashes here.

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