summaryrefslogtreecommitdiffstats
path: root/krebs/5pkgs/simple/Reaktor/plugins.nix
diff options
context:
space:
mode:
authorlassulus <lass@blue.r>2018-07-03 21:12:06 +0200
committerlassulus <lass@blue.r>2018-07-03 21:12:06 +0200
commitd8f9ed5674ad041aab417e0aedfae71b25978119 (patch)
tree7a5a50735ad54914f0cab5ee82fd34de3f4a74ba /krebs/5pkgs/simple/Reaktor/plugins.nix
parent64404b6dab45a8ffa4770f724b724efec33f2b5a (diff)
parenta7009b8ded9d6e6bcfc323dbd9d45d5d66d0a5e8 (diff)
Merge remote-tracking branch 'prism/staging/jeschli'
Diffstat (limited to 'krebs/5pkgs/simple/Reaktor/plugins.nix')
-rw-r--r--krebs/5pkgs/simple/Reaktor/plugins.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/krebs/5pkgs/simple/Reaktor/plugins.nix b/krebs/5pkgs/simple/Reaktor/plugins.nix
index 2df76fb2f..418a3c73c 100644
--- a/krebs/5pkgs/simple/Reaktor/plugins.nix
+++ b/krebs/5pkgs/simple/Reaktor/plugins.nix
@@ -141,6 +141,13 @@ rec {
'';
});
+ taskwarrior = buildSimpleReaktorPlugin "task" {
+ pattern = "^task: (?P<args>.*)$$";
+ script = pkgs.writeDash "task-wrapper" ''
+ task "$*"
+ '';
+ };
+
todo = name: {
add = buildSimpleReaktorPlugin "${name}-add" {
pattern = "^${name}-add: (?P<args>.*)$$";