summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-x.scripts/opout5
1 files 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