about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rwxr-xr-xhm/soispha/pkgs/scripts/wrappers/neorg/neorg4
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"