Fix for sxiv structure

This commit is contained in:
Emre AKYÜZ 2023-06-30 15:27:06 +03:00 committed by GitHub
parent f2e89ab984
commit a8e31d6a1d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,7 +44,8 @@ cmd open ${{
done done
for ((i=0; i<${#images[@]}; i++)); do for ((i=0; i<${#images[@]}; i++)); do
[[ "${images[i]}" = "$selected_file" ]] && { [[ "${images[i]}" = "$selected_file" ]] && {
sxiv -abiof "${images[@]:i}" "${images[@]:0:i}" images=( "${images[@]:i}" "${images[@]:0:i}" )
sxiv -abfio "${images[@]}"
break break
} }
done done