commit 8930571b9bdbbbb21296ed80f42ac9fc73235bf1
parent da5ac0e6a86b1f8ba5f35c799e4c815525472685
Author: Alex Balgavy <alex@balgavy.eu>
Date: Thu, 3 Mar 2022 22:50:02 +0100
opener: use nsxiv instead of archived sxiv
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/opener b/scripts/opener
@@ -7,7 +7,7 @@ case "$1" in
*)
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;;
+ image/*) setsid -f nsxiv "$@" 2>&1;;
application/epub*) setsid -f ebook-viewer "$1" >/dev/null 2>&1;;
application/pdf*) setsid -f zathura "$1" >/dev/null 2>&1;;
application/x-sc|application/vnd.openxmlformats-officedocument.spreadsheetml.sheet) sc-im "$1";;