From 43787f46f39330c3e8fcd7e60ddac674b8df0874 Mon Sep 17 00:00:00 2001 From: Daniel Fichtinger Date: Tue, 22 Apr 2025 14:35:13 -0400 Subject: [PATCH] AutoYADM commit: 2025-04-22 14:35:12 --- .config/helix/scripts/typst-zathura.fish | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.config/helix/scripts/typst-zathura.fish b/.config/helix/scripts/typst-zathura.fish index b8e2299a..b3df94fc 100755 --- a/.config/helix/scripts/typst-zathura.fish +++ b/.config/helix/scripts/typst-zathura.fish @@ -39,16 +39,16 @@ if test -z "$parent_pid" qecho "Couldn't find parent hx process!" return $ret end -echo $parent_pid # opens zathura, watching for helix closing function zopen --wraps zathura begin zathura "$argv[1]" &>/dev/null & set zathura_pid $last_pid - notify-send "$zathura_pid" - inotifywait -qq -e delete_self /proc/$parent_pid - notify-send "Zathura killed" + notify-send zathura "$zathura_pid" + notify-send hx $parent_pid + inotifywait -e delete_self /proc/$parent_pid + notify-send "helix killed" kill $zathura_pid end & end