From 1253a89cf8372a5c154ba875eafe1e06ac4f9af2 Mon Sep 17 00:00:00 2001 From: Soispha Date: Fri, 27 Oct 2023 21:41:26 +0200 Subject: fix(hm/pkgs/src/neorg): Fix some branch executions --- hm/soispha/pkgs/scripts/wrappers/neorg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hm') diff --git a/hm/soispha/pkgs/scripts/wrappers/neorg b/hm/soispha/pkgs/scripts/wrappers/neorg index af8d990d..9d45e17c 100755 --- a/hm/soispha/pkgs/scripts/wrappers/neorg +++ b/hm/soispha/pkgs/scripts/wrappers/neorg @@ -146,10 +146,10 @@ PROJECT_open_context_in_browser() { DMENU_open_context_in_browser() { project="$(echo "%ALL_PROJECTS_PIPE" | rofi -sep "|" -dmenu)"; if [ "$project" ]; then - PROJECT_open_context_in_browser "$current_context"; + PROJECT_open_context_in_browser "$project"; else current_context="$(UTILS_get_current_context)"; - [ "$current_context" ] || notify-send "No current context" + [ "$current_context" ] || (notify-send "(Neorg) No current context"; exit 1) PROJECT_open_context_in_browser "$current_context"; fi } -- cgit 1.4.1