commit 863f36cebc4e63fa4dd5a62e9bdebad9647dcd8d
parent af11c4d54183237ff24e81d6ed94c5e0d005a692
Author: Alex Balgavy <a.balgavy@gmail.com>
Date: Wed, 14 Oct 2020 09:25:19 +0200
opener: handler scim documents
Former-commit-id: 1fa9e5bbc7b32ab46cb8e2ec506e5ab1ef207049
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/scripts/opener b/scripts/opener
@@ -4,6 +4,7 @@ case $(file --mime-type "$1" -bL) in
text/*|application/json|inode/x-empty) $EDITOR "$1";;
image/*) setsid -f sxiv "$@" 2>&1;;
application/epub*) setsid -f ebook-viewer "$1" >/dev/null 2>&1;;
+ application/x-sc) sc-im "$1";;
video/*) mpvq "$@";;
audio/*) mpv --no-audio-display --no-video --volume=50 "$1";;
*) setsid -f open "$@" > /dev/null 2>&1;;