From b166cb44df1995706b5875f509d786289c847cf0 Mon Sep 17 00:00:00 2001 From: traxys Date: Wed, 31 May 2023 11:51:42 +0200 Subject: [PATCH] thinkpad-nixos: Manage folders a bit better --- hostconfig/thinkpad-nixos/hm.nix | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/hostconfig/thinkpad-nixos/hm.nix b/hostconfig/thinkpad-nixos/hm.nix index 584f698..f29a92b 100644 --- a/hostconfig/thinkpad-nixos/hm.nix +++ b/hostconfig/thinkpad-nixos/hm.nix @@ -75,16 +75,18 @@ ; from = "Quentin Boyer "; outgoing = "msmtpq --read-envelope-from --read-recipients"; - default = "Inbox"; + default = "inbox"; postpone = "Drafts"; source = "notmuch://~/Maildir"; query-map = "${pkgs.writeText "querymap" '' - Inbox=path:work/Inbox/** - bxi3=tag:bxi3 - libs2=tag:libs2 + inbox=tag:inbox inflight=thread:{tag:inflight} review=thread:{tag:review} - btf=tag:btf + _unread=tag:unread + + patches/bxi3=tag:bxi3 + patches/btf=tag:btf + patches/libs2=tag:libs2 ''}"; }; }; @@ -149,6 +151,11 @@ "tdi" = ":tag -inflight:select 0"; "tdr" = ":tag -review:select 0"; + + "zI" = ":cf inbox"; + "zi" = ":cf inflight"; + "zr" = ":cf review"; + "zT" = ":cf tag:"; }; view = {