summaryrefslogtreecommitdiff
path: root/bin/extra/sgimg
diff options
context:
space:
mode:
authorRaymaekers Luca <raymaekers.luca@gmail.com>2023-11-13 14:06:34 +0100
committerRaymaekers Luca <raymaekers.luca@gmail.com>2023-11-13 14:06:34 +0100
commit5bf92dab61950c35afc6266a2ef85056cdeb14ea (patch)
tree85cd7761812af70f01992538f75f8959687c55ba /bin/extra/sgimg
parent09e3e0945dd31005f10d7cc18ccd5b38fdb58f97 (diff)
parentb386965b95808a0ad78e6c1dedaefac4693aaad5 (diff)
Merge branch 'main' of debuc.com: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..7c1823c
--- /dev/null
+++ b/bin/extra/sgimg
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+imv "$(find ~/.local/share/gurk/ -type f -printf "%A@\t%p\n" |
+ sort -n |
+ tail -n 1 |
+ cut -f 2-)"