diff options
author | jeschli <jeschli@gmail.com> | 2018-07-03 20:34:29 +0200 |
---|---|---|
committer | jeschli <jeschli@gmail.com> | 2018-07-03 20:34:29 +0200 |
commit | 8cde86561a54652541d9a6c90109d5aa438c21f5 (patch) | |
tree | 95e3aabfc73378775885e668185aaa5e80725322 /krebs/5pkgs/simple/Reaktor/plugins.nix | |
parent | 93365727ce821f7fbd4fa6bcc698bd32b681c4e6 (diff) |
Reaktor plugins: +taskwarrior
Diffstat (limited to 'krebs/5pkgs/simple/Reaktor/plugins.nix')
-rw-r--r-- | krebs/5pkgs/simple/Reaktor/plugins.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/krebs/5pkgs/simple/Reaktor/plugins.nix b/krebs/5pkgs/simple/Reaktor/plugins.nix index c39e39799..4016b6a16 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>.*)$$"; |