aboutsummaryrefslogtreecommitdiffstats
path: root/afew
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2018-11-04 22:52:19 +0100
committerJohannes Löthberg <johannes@kyriasis.com>2018-11-04 22:52:19 +0100
commitd2e0a1f0fec8ad03a083b20ad010fd13d781d1e8 (patch)
treef8a63add0409a2bbf0c7a9e516a554778176e6a8 /afew
parent128b22cd4b05541c2d6c8ced9bde232d64362cae (diff)
downloaddotfiles-d2e0a1f0fec8ad03a083b20ad010fd13d781d1e8.tar.xz
afew: Rejiggle mover rules
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
Diffstat (limited to 'afew')
-rw-r--r--afew/config3
1 files changed, 2 insertions, 1 deletions
diff --git a/afew/config b/afew/config
index de75d2a..7d9159f 100644
--- a/afew/config
+++ b/afew/config
@@ -22,8 +22,9 @@ spam = 'NOT tag:spam AND tag:inbox':inbox 'NOT tag:spam AND NOT tag:inbox':archi
rules = spam archive
rename = True
-spam = 'tag:spam AND NOT folder:learn-spam':learn-spam
+spam = 'tag:spam AND NOT folder:spam':spam 'tag:learn-spam AND NOT folder:learn-spam':learn-spam
archive = 'tag:archive AND NOT folder:archive':archive
+ 'folder:spam AND NOT tag:spam':archive
'folder:inbox AND NOT tag:inbox AND NOT tag:learn-spam':archive
# vim: ft=conf