VR53KDSKBJTHP6N5UTCZTZOX5LFRWIYVN6KGLU4HQHA2L7QC553AC
#!/bin/sh
task +ACTIVE export rc.hooks=0 2>/dev/null | jq -rc '.[0].description // ""' > $HOME/CURRENT_TASK
{ pkgs, ... }: {
home.packages = with pkgs; [
taskwarrior
timewarrior
];
home.file = {
".task/hooks/on-exit_update-current-task.sh" = {
source = ./on-exit_update-current-task.sh;
executable = true;
};
".task/hooks/on-modify_timewarrior.py" = {
source = "${pkgs.timewarrior}/share/doc/timew/ext/on-modify.timewarrior";
executable = true;
};
};
}