AutoYADM commit: 2025-04-22 14:35:12
This commit is contained in:
parent
0e0db43622
commit
43787f46f3
1 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue