sh: Prefer vimiv as image viewer for iv alias

Simply prefer vimiv over other potential image viewers installed.
This commit is contained in:
Marty Oehme 2024-05-28 21:34:00 +02:00
parent dfcd7cc1a5
commit 54f553f75c
Signed by: Marty
GPG key ID: EDBF2ED917B2EF6A

View file

@ -93,7 +93,7 @@ if exist imv-folder; then
fi
}
else
for cmd in imv nsxiv vimiv sxiv feh; do
for cmd in vimiv imv nsxiv sxiv feh; do
# shellcheck disable=SC2139
# since we *want* it defined at definition
if exist "$cmd"; then alias iv="$cmd"; break; fi