From ba85d7e6c93825e7e123f1522d7e72d3778de6fc Mon Sep 17 00:00:00 2001 From: Soispha Date: Sun, 31 Dec 2023 12:14:45 +0100 Subject: fix(hm/pkgs/neorg): Don't limit too many things on 'tracking' --- hm/soispha/pkgs/scripts/wrappers/neorg/neorg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hm') 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" -- cgit 1.4.1