From 5c0daa513629ec9e48d340b2b875881d8b3682f5 Mon Sep 17 00:00:00 2001 From: speedie Date: Thu, 27 Oct 2022 18:40:42 +0200 Subject: [PATCH] fix bug --- src/speedwm-swal | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/speedwm-swal b/src/speedwm-swal index de4bd7f..d42aa8f 100755 --- a/src/speedwm-swal +++ b/src/speedwm-swal @@ -115,9 +115,9 @@ SWAL_CHECK() if [ "$SWAL_IMAGE_VIEWER" = "" ]; then if command -v feh > /dev/null; then SWAL_IMAGE_VIEWER=feh - if command -v sxiv > /dev/null; then + elif command -v sxiv > /dev/null; then SWAL_IMAGE_VIEWER=sxiv - if command -v nsxiv > /dev/null; then + elif command -v nsxiv > /dev/null; then SWAL_IMAGE_VIEWER=nsxiv fi fi