Skip to main content

Query your notmuch database from powerline

Project description

Notmuch powerline
===========

Easily query your [notmuch](https://notmuchmail.org/) database from [powerline](https://github.com/powerline/powerline).

ISC licenced, see the LICENCE file.

Examples:
---------
The most basic example would be:

{
"function": "powerline_notmuch.notmuch",
"args": {
"searches": [
{"search": "tag:unread and not tag:list"},
]
}
}

results in

✉·2

A bit more, playing around with before and after:

{
"function": "powerline_notmuch.notmuch",
"before": "[",
"after": "]",
"args": {
"divider": "] [",
"searches": [
{"search": "tag:unread and not tag:list"},
{"icon": "", "search": "tag:unread and tag:list"},
{"icon": "BUGS", "search": "tag:unread and tag:bugs"}
]
}
}

results in

[✉ 2] [ 106] [BUGS 0]

Project details


Release history Release notifications

This version
History Node

0.1

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
powerline_notmuch-0.1.tar.gz (2.7 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page