diff options
author | Raymaekers Luca <raymaekers.luca@gmail.com> | 2024-01-05 16:56:42 +0100 |
---|---|---|
committer | Raymaekers Luca <raymaekers.luca@gmail.com> | 2024-01-05 16:56:42 +0100 |
commit | e6e98313b9769b431d8a66c0aac2b82295d2bf1e (patch) | |
tree | 1cdbc2075815fa88a0b80818174542e00a41f855 /bin/extra/sgimg | |
parent | 541ab2e483efe77d08ae5d04119a834f24b6d150 (diff) | |
parent | 0d10205772b2745356969176de6f52510527e5a6 (diff) |
Merge branch 'main' of db:dotfiles
Diffstat (limited to 'bin/extra/sgimg')
-rwxr-xr-x | bin/extra/sgimg | 6 |
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-)" |