run notmuch with runit

This commit is contained in:
Felix Van der Jeugt 2017-06-23 11:58:13 +02:00
parent 7887de9492
commit 19c48412cc
No known key found for this signature in database
GPG key ID: 58B209295023754D
3 changed files with 20 additions and 11 deletions

View file

@ -1,11 +0,0 @@
from alot.commands.globals import ExternalCommand
def loop_hook(ui=None):
ui.apply_command(ExternalCommand(
["notmuch", "new", "--quiet"],
thread=True,
))
if ui and ui.current_buffer:
ui.update()