Skip to content

askurihin/not-much-fire

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A simple Notmuch notification tool

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%