Merge remote-tracking branch 'prism/staging/jeschli'
This commit is contained in:
commit
d8f9ed5674
|
@ -13,6 +13,7 @@ with import <stockholm/lib>;
|
||||||
};
|
};
|
||||||
plugins = with pkgs.ReaktorPlugins; [
|
plugins = with pkgs.ReaktorPlugins; [
|
||||||
sed-plugin
|
sed-plugin
|
||||||
|
taskwarrior
|
||||||
] ++
|
] ++
|
||||||
(attrValues (todo "agenda"))
|
(attrValues (todo "agenda"))
|
||||||
;
|
;
|
||||||
|
|
|
@ -141,6 +141,13 @@ rec {
|
||||||
'';
|
'';
|
||||||
});
|
});
|
||||||
|
|
||||||
|
taskwarrior = buildSimpleReaktorPlugin "task" {
|
||||||
|
pattern = "^task: (?P<args>.*)$$";
|
||||||
|
script = pkgs.writeDash "task-wrapper" ''
|
||||||
|
task "$*"
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
todo = name: {
|
todo = name: {
|
||||||
add = buildSimpleReaktorPlugin "${name}-add" {
|
add = buildSimpleReaktorPlugin "${name}-add" {
|
||||||
pattern = "^${name}-add: (?P<args>.*)$$";
|
pattern = "^${name}-add: (?P<args>.*)$$";
|
||||||
|
|
Loading…
Reference in New Issue
Block a user