opout case fix
This commit is contained in:
parent
c8eae342fe
commit
64fce40526
1 changed files with 2 additions and 3 deletions
|
@ -7,8 +7,7 @@
|
|||
basename="$(echo "$1" | sed 's/\.[^\/.]*$//')"
|
||||
|
||||
case "$1" in
|
||||
*.tex|*.md|*.[rR]md|*.ms|*.me|*.mom) setsid "$READER" "$basename".pdf >/dev/null 2>&1 & ;;
|
||||
*.[0-9]) setsid "$READER" "$basename".pdf >/dev/null 2>&1 & ;;
|
||||
*.html) setsid $BROWSER "$basename".html >/dev/null 2>&1 & ;;
|
||||
*.tex|*.md|*.[rR]md|*.ms|*.me|*.mom|*.[0-9]) setsid xdg-open "$basename".pdf >/dev/null 2>&1 & ;;
|
||||
*.html) setsid "$BROWSER" "$basename".html >/dev/null 2>&1 & ;;
|
||||
*.sent) setsid sent "$1" >/dev/null 2>&1 & ;;
|
||||
esac
|
||||
|
|
Loading…
Reference in a new issue