summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorRaymaekers Luca <raymaekers.luca@gmail.com>2023-12-10 15:23:29 +0100
committerRaymaekers Luca <raymaekers.luca@gmail.com>2023-12-10 15:23:29 +0100
commite2ee726c851eadeac489b3288f775af234ba4a7a (patch)
treea0ca1f8dfe5ba067455625a6d55b3113954d0339 /bin
parent1c104322b6b682debfbcda8b1b84e3abb085048a (diff)
fixed: only find images
Diffstat (limited to 'bin')
-rwxr-xr-xbin/extra/sgimg2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/extra/sgimg b/bin/extra/sgimg
index 7c1823c..acb8126 100755
--- a/bin/extra/sgimg
+++ b/bin/extra/sgimg
@@ -1,6 +1,6 @@
#!/bin/sh
-imv "$(find ~/.local/share/gurk/ -type f -printf "%A@\t%p\n" |
+imv "$(find ~/.local/share/gurk/ -type f \( -iname '*.png' -o -iname '*.jpg' \) -printf "%A@\t%p\n" |
sort -n |
tail -n 1 |
cut -f 2-)"