diff options
author | Soispha <soispha@vhack.eu> | 2023-10-27 21:41:26 +0200 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2023-10-27 21:41:26 +0200 |
commit | 1253a89cf8372a5c154ba875eafe1e06ac4f9af2 (patch) | |
tree | 46cff2e2e180b99b2ddde8c73271a8fddda0aaa2 | |
parent | fix(hm/pkgs/src/neorg): Fix typo (diff) | |
download | nixos-config-1253a89cf8372a5c154ba875eafe1e06ac4f9af2.tar.gz nixos-config-1253a89cf8372a5c154ba875eafe1e06ac4f9af2.zip |
fix(hm/pkgs/src/neorg): Fix some branch executions
Diffstat (limited to '')
-rwxr-xr-x | hm/soispha/pkgs/scripts/wrappers/neorg | 4 |
1 files changed, 2 insertions, 2 deletions
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 } |