summaryrefslogtreecommitdiff
path: root/bin/extra/sgimg
diff options
context:
space:
mode:
Diffstat (limited to 'bin/extra/sgimg')
-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-)"