diff options
| author | Luke Smith <luke@lukesmith.xyz> | 2018-09-29 16:02:59 -0400 |
|---|---|---|
| committer | Luke Smith <luke@lukesmith.xyz> | 2018-09-29 16:02:59 -0400 |
| commit | 9ff3b2bc30b036546afa94ae66281e6fe9e1524a (patch) | |
| tree | 7c057076ba0a6082f45bab4cf00c8ed48cd5afb6 /.scripts | |
| parent | 13b6ab3dc2f1a2c100b26af963b495a9e563e5c2 (diff) | |
| download | eibhear-9ff3b2bc30b036546afa94ae66281e6fe9e1524a.tar.gz eibhear-9ff3b2bc30b036546afa94ae66281e6fe9e1524a.tar.zst eibhear-9ff3b2bc30b036546afa94ae66281e6fe9e1524a.zip | |
setsid and sent added to opout
Diffstat (limited to '.scripts')
| -rwxr-xr-x | .scripts/opout | 5 |
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 |
