summaryrefslogtreecommitdiff
path: root/bin/extra/sgimg
diff options
context:
space:
mode:
authorRaymaekers Luca <raymaekers.luca@gmail.com>2024-01-05 16:56:42 +0100
committerRaymaekers Luca <raymaekers.luca@gmail.com>2024-01-05 16:56:42 +0100
commite6e98313b9769b431d8a66c0aac2b82295d2bf1e (patch)
tree1cdbc2075815fa88a0b80818174542e00a41f855 /bin/extra/sgimg
parent541ab2e483efe77d08ae5d04119a834f24b6d150 (diff)
parent0d10205772b2745356969176de6f52510527e5a6 (diff)
Merge branch 'main' of db:dotfiles
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-)"