summaryrefslogtreecommitdiffstats
path: root/.scripts
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2018-09-29 16:02:59 -0400
committerLuke Smith <luke@lukesmith.xyz>2018-09-29 16:02:59 -0400
commit9ff3b2bc30b036546afa94ae66281e6fe9e1524a (patch)
tree7c057076ba0a6082f45bab4cf00c8ed48cd5afb6 /.scripts
parent13b6ab3dc2f1a2c100b26af963b495a9e563e5c2 (diff)
downloadeibhear-9ff3b2bc30b036546afa94ae66281e6fe9e1524a.tar.gz
eibhear-9ff3b2bc30b036546afa94ae66281e6fe9e1524a.tar.zst
eibhear-9ff3b2bc30b036546afa94ae66281e6fe9e1524a.zip
setsid and sent added to opout
Diffstat (limited to '.scripts')
-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