diff --git a/.scripts/opout b/.scripts/opout index e716b94..91323a5 100755 --- a/.scripts/opout +++ b/.scripts/opout @@ -7,6 +7,7 @@ ext="${filename##*.}" filename="${filename%.*}" case "$ext" in - tex|md|rmd) zathura $filename.pdf & ;; - html) $TRUEBROWSER --new-window $filename.html & ;; + tex|md|rmd) setsid zathura "$filename".pdf & ;; + html) setsid $TRUEBROWSER --new-window "$filename".html & ;; + sent) setsid sent "$1" & ;; esac