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]
===========
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 | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
powerline_notmuch-0.1.tar.gz
(2.7 kB
view details)
File details
Details for the file powerline_notmuch-0.1.tar.gz
.
File metadata
- Download URL: powerline_notmuch-0.1.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d7f1d16e03c64d7d4ff4212b8e1ed0bf4cf25506e3a286c581e3800972db8b12 |
|
MD5 | b7fe8561d2a944487ed76e66f18d7a87 |
|
BLAKE2b-256 | f155ecd8c8eb733f7e77b2e83f63f26631dc396f221225fefa2083f1b4fdcafe |