瀏覽代碼
sxiv automatically plays animations (part2) (#732)
* sxiv automatically plays animations (part2)
* Update imgview
* Update imgview
master
Toni Jarjour
GitHub
4 年之前
沒有發現已知的金鑰在資料庫的簽署中
GPG 金鑰 ID: 4AEE18F83AFDEB23
共有
1 個檔案被更改,包括
5 行新增 和
1 行删除
-
plugins/imgview
|
|
@@ -26,7 +26,11 @@ view_dir() { |
|
|
|
count="$(listimages | grep -a -m 1 -ZznF "$target" | cut -d: -f1)" |
|
|
|
|
|
|
|
if [ -n "$count" ]; then |
|
|
|
listimages | xargs -0 "$1" -n "$count" -- |
|
|
|
if [ "$1" = 'sxiv' ]; then |
|
|
|
listimages | xargs -0 "$1" -an "$count" -- |
|
|
|
else |
|
|
|
listimages | xargs -0 "$1" -n "$count" -- |
|
|
|
fi |
|
|
|
else |
|
|
|
shift |
|
|
|
"$1" -- "$@" # fallback |
|
|
|