AutoYADM commit: 2025-04-22 14:30:12
This commit is contained in:
parent
a5da6f001d
commit
0e0db43622
1 changed files with 9 additions and 2 deletions
|
@ -41,9 +41,16 @@ if test -z "$parent_pid"
|
||||||
end
|
end
|
||||||
echo $parent_pid
|
echo $parent_pid
|
||||||
|
|
||||||
|
# opens zathura, watching for helix closing
|
||||||
function zopen --wraps zathura
|
function zopen --wraps zathura
|
||||||
zathura "$argv[1]" &>/dev/null &
|
begin
|
||||||
set zathura_pid $last_pid
|
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"
|
||||||
|
kill $zathura_pid
|
||||||
|
end &
|
||||||
end
|
end
|
||||||
|
|
||||||
function find_pdf
|
function find_pdf
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue