summaryrefslogtreecommitdiff
path: root/bin/extra/sgimg
diff options
context:
space:
mode:
Diffstat (limited to 'bin/extra/sgimg')
-rwxr-xr-xbin/extra/sgimg6
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/extra/sgimg b/bin/extra/sgimg
new file mode 100755
index 0000000..acb8126
--- /dev/null
+++ b/bin/extra/sgimg
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+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-)"