commit d4341655e9e3d47dd2c3ea1bc657c839ce71593f
parent 554db3142216efa5adb2833834c27608dfe6a3d2
Author: Alex Balgavy <alex@balgavy.eu>
Date: Wed, 13 Jan 2021 23:01:55 +0100
opener: open xlsx files with sc-im
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/opener b/scripts/opener
@@ -4,7 +4,7 @@ case $(file --mime-type "$1" -bL) in
text/*|application/json|inode/x-empty) { [ -n "$VIM_TERMINAL" ] && vimsend "$1"; } || ${EDITOR:-vim} "$1";;
image/*) setsid -f sxiv "$@" 2>&1;;
application/epub*) setsid -f ebook-viewer "$1" >/dev/null 2>&1;;
- application/x-sc) sc-im "$1";;
+ application/x-sc|application/vnd.openxmlformats-officedocument.spreadsheetml.sheet) sc-im "$1";;
video/*) mpvq "$@";;
audio/*) mpv --no-audio-display --no-video --volume=50 "$1";;
application/x-mach-binary) ;;