AutoYADM commit: 2025-04-22 14:35:12

This commit is contained in:
Daniel Fichtinger 2025-04-22 14:35:13 -04:00
parent 0e0db43622
commit 43787f46f3

View file

@ -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