diff --git a/config/alot/config b/config/alot/config index b7e544c..a3b13b7 100644 --- a/config/alot/config +++ b/config/alot/config @@ -11,7 +11,7 @@ periodic_hook_frequency = 60 sendmail_command = /usr/bin/msmtp --account=gmail -t sent_box = maildir:///data/mail/gmail/Sent draft_box = maildir:///data/mail/gmail/Sent - sent_tags = sent, gmail + sent_tags = inbox, gmail sign_by_default = True [[ugent]] @@ -22,7 +22,7 @@ periodic_hook_frequency = 60 sendmail_command = /usr/bin/msmtp --account=ugent -t sent_box = maildir:///data/mail/ugent/Sent draft_box = maildir:///data/mail/ugent/Sent - sent_tags = sent, ugent + sent_tags = inbox, ugent sign_by_default = True [bindings] diff --git a/config/alot/hooks.py b/config/alot/hooks.py index ae3456a..f9c907a 100644 --- a/config/alot/hooks.py +++ b/config/alot/hooks.py @@ -1,6 +1,5 @@ from alot.commands.globals import ExternalCommand -from alot.commands.search import OpenThreadCommand def loop_hook(ui=None): ui.apply_command(ExternalCommand( @@ -10,7 +9,3 @@ def loop_hook(ui=None): if ui and ui.current_buffer: ui.update() -def post_search_select(ui=None, dbm=None, cmd=None): - if isinstance(cmd, OpenThreadCommand): - cmd.thread.remove_tags({"unread"}) -