From 9ff3b2bc30b036546afa94ae66281e6fe9e1524a Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Sat, 29 Sep 2018 16:02:59 -0400 Subject: [PATCH] setsid and sent added to opout --- .scripts/opout | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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