summaryrefslogtreecommitdiffstats
path: root/krebs/5pkgs/simple
diff options
context:
space:
mode:
authorjeschli <jeschli@gmail.com>2018-07-03 20:34:29 +0200
committerjeschli <jeschli@gmail.com>2018-07-03 20:34:29 +0200
commit8cde86561a54652541d9a6c90109d5aa438c21f5 (patch)
tree95e3aabfc73378775885e668185aaa5e80725322 /krebs/5pkgs/simple
parent93365727ce821f7fbd4fa6bcc698bd32b681c4e6 (diff)
Reaktor plugins: +taskwarrior
Diffstat (limited to 'krebs/5pkgs/simple')
-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 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>.*)$$";