mirror of
https://github.com/traxys/Nixfiles.git
synced 2026-02-28 17:51:02 +01:00
hostconfig/thinkpad-nixos: Better folder handling
This commit is contained in:
parent
d5ba92514f
commit
60e0ed8c86
1 changed files with 5 additions and 6 deletions
|
|
@ -118,13 +118,13 @@ in
|
|||
address-book-cmd = "${pkgs.notmuch-addrlookup}/bin/notmuch-addrlookup --format=aerc %s";
|
||||
query-map =
|
||||
let
|
||||
mkPatchDir = name: "patches/${name}=tag:${name}";
|
||||
mkPatchDir = name: "projects/${name}=tag:${name}";
|
||||
patchDirs = builtins.concatStringsSep "\n" (builtins.map mkPatchDir (builtins.attrNames projects));
|
||||
in
|
||||
"${pkgs.writeText "querymap" ''
|
||||
inbox=tag:inbox and not tag:spammy
|
||||
inflight=thread:{tag:inflight}
|
||||
review=thread:{tag:review}
|
||||
_patches/inflight=thread:{tag:inflight}
|
||||
_patches/review=thread:{tag:review}
|
||||
_unread=thread:{tag:unread} and not tag:iommu and not tag:qemu
|
||||
_todo=thread:{tag:todo}
|
||||
ext/iommu=tag:iommu
|
||||
|
|
@ -133,7 +133,6 @@ in
|
|||
ext/qemu=tag:qemu
|
||||
ext/qemu/non-patch=tag:qemu and tag:non-patch
|
||||
ext/qemu/unread=tag:qemu and thread:{tag:unread}
|
||||
archi=thread:"{tag:'archi' or subject:'[NICIA] CR réunion architecture'}"
|
||||
|
||||
${patchDirs}
|
||||
''}";
|
||||
|
|
@ -214,8 +213,8 @@ in
|
|||
"tdt" = ":tag -todo<Enter>:select 0<Enter>";
|
||||
|
||||
"zI" = ":cf inbox<Enter>";
|
||||
"zi" = ":cf inflight<Enter>";
|
||||
"zr" = ":cf review<Enter>";
|
||||
"zi" = ":cf _patches/inflight<Enter>";
|
||||
"zr" = ":cf _patches/review<Enter>";
|
||||
"zu" = ":cf _unread<Enter>";
|
||||
"zt" = ":cf _todo<Enter>";
|
||||
"zT" = ":cf tag:";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue