summaryrefslogtreecommitdiff
path: root/webgut
diff options
context:
space:
mode:
authornikolaus <nikolaus@fishbox.fritz.box>2022-09-08 06:18:50 +0200
committernikolaus <nikolaus@fishbox.fritz.box>2022-09-08 06:18:50 +0200
commitec462124d1f9ca8458e9ab26c5a1076220afebf0 (patch)
tree52289ae86b732ffa37d492af8f25f56461efe791 /webgut
parent85603a1c1fb027f5fa7f4c93a99fb7a180ceaf9e (diff)
Potential bug fix for webgut program.
Diffstat (limited to 'webgut')
-rwxr-xr-xwebgut2
1 files changed, 1 insertions, 1 deletions
diff --git a/webgut b/webgut
index 05a0c9d..73853ba 100755
--- a/webgut
+++ b/webgut
@@ -46,7 +46,7 @@ do
curl --create-dirs --output ~/.cache/webgut/thumbnails/$name.jpg $thumbnail &
done &&
sleep 10
-nsxiv -t ~/.cache/webgut/thumbnails/*
+ [ $(ls ~/.cache/webgut/thumbnails | wc -l) -gt 20 ] && nsxiv -t ~/.cache/webgut/thumbnails/*
else
w3m gruble.de
fi