diff options
author | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-12-10 15:23:29 +0100 |
---|---|---|
committer | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-12-10 15:23:29 +0100 |
commit | e2ee726c851eadeac489b3288f775af234ba4a7a (patch) | |
tree | a0ca1f8dfe5ba067455625a6d55b3113954d0339 /bin/extra | |
parent | 1c104322b6b682debfbcda8b1b84e3abb085048a (diff) |
fixed: only find images
Diffstat (limited to 'bin/extra')
-rwxr-xr-x | bin/extra/sgimg | 2 |
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-)" |