From 0556f4030f8f63e08dc8b3698049001c0ad6c23c Mon Sep 17 00:00:00 2001 From: Tuxliban Date: Mon, 28 Nov 2022 02:31:24 -0600 Subject: [PATCH] =?UTF-8?q?viewer:=20Se=20a=C3=B1ade=20descripci=C3=B3n=20?= =?UTF-8?q?del=20script?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- varios/viewer | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/varios/viewer b/varios/viewer index 2265cde..7742c81 100755 --- a/varios/viewer +++ b/varios/viewer @@ -1,4 +1,9 @@ #!/bin/sh +# Script que busca formatos compatibles *.gif *.jpeg *.jpg *.png y los muestra en la pantalla +# Dependencias: sxiv o nsxiv -# Buscar formatos compatibles *.gif *.jpeg *.jpg *.png -sxiv -pa "$@" 2>/dev/null +if command -v sxiv; then + sxiv -pa "$@" 2>/dev/null & +elif command -v nsxiv; then + nsxiv -pa "$@" 2>/dev/null & +fi