diff options
author | Soispha <soispha@vhack.eu> | 2023-12-31 12:14:45 +0100 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2023-12-31 12:54:14 +0100 |
commit | ba85d7e6c93825e7e123f1522d7e72d3778de6fc (patch) | |
tree | 943ee6054be191a57beb728a730fb3c5cac071e8 /hm | |
parent | fix(hm/conf/task/hooks/): Correctly wrap python hooks to add timewarrior (diff) | |
download | nixos-config-ba85d7e6c93825e7e123f1522d7e72d3778de6fc.tar.gz nixos-config-ba85d7e6c93825e7e123f1522d7e72d3778de6fc.zip |
fix(hm/pkgs/neorg): Don't limit too many things on 'tracking'
Diffstat (limited to 'hm')
-rwxr-xr-x | hm/soispha/pkgs/scripts/wrappers/neorg/neorg | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hm/soispha/pkgs/scripts/wrappers/neorg/neorg b/hm/soispha/pkgs/scripts/wrappers/neorg/neorg index a34eefa5..5d229d51 100755 --- a/hm/soispha/pkgs/scripts/wrappers/neorg/neorg +++ b/hm/soispha/pkgs/scripts/wrappers/neorg/neorg @@ -166,6 +166,7 @@ PROJECT_open_context_in_browser() { tracking="$(mktmp)"; task "project:$context" _ids | xargs task _zshids > "$tracking"; + task context "$(UTILS_project_to_context_name "$context")" while read -r description; do desc="$(echo "$description" | awk -F: '{print $2}' )"; @@ -173,9 +174,8 @@ PROJECT_open_context_in_browser() { task_id="$(echo "$description" | awk -F: '{print $1}' )"; notify-send "(Neorg)" "Starting task $context -> $desc"; task start "$task_id" - task context "$(UTILS_project_to_context_name "$context")" + break fi - break done < "$tracking" |