Rename mute to delay

This commit is contained in:
Felix Van der Jeugt 2020-01-06 21:19:58 +01:00
parent b2a8a2e648
commit 9b6c220917
No known key found for this signature in database
GPG key ID: 58B209295023754D
3 changed files with 27 additions and 27 deletions

View file

@ -1,9 +1,9 @@
#!/usr/bin/env python3
async def mute(ui, days):
async def delay(ui, days):
from datetime import date, timedelta
datestr = str(date.today() + timedelta(days=days))
await ui.apply_commandline(f'toggletags inbox,muted,muted/{datestr}')
await ui.apply_commandline(f'toggletags inbox,delay,delay/{datestr}')
async def spam(ui):
from alot.buffers import EnvelopeBuffer