diff --git a/.bin/documents-next b/.bin/documents-next index 998588b..74169b1 100755 --- a/.bin/documents-next +++ b/.bin/documents-next @@ -11,6 +11,8 @@ then exit 0 fi +pkill -f /usr/local/bin/pdfarranger + pdfarranger "_incoming/${_doc}" > /dev/null 2>&1 & echo "Here is: ${_doc}" echo "Shall we move it to _done?" @@ -22,4 +24,3 @@ case $key in *) echo "What a shame..."; ;; esac -pkill -f /usr/local/bin/pdfarranger