Rename mute to delay
This commit is contained in:
parent
b2a8a2e648
commit
9b6c220917
3 changed files with 27 additions and 27 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue