summaryrefslogtreecommitdiff
path: root/bin/ffimv
diff options
context:
space:
mode:
authorSam Nystrom <sam@samnystrom.dev>2024-10-15 13:29:10 -0400
committerSam Nystrom <sam@samnystrom.dev>2024-10-15 13:29:10 -0400
commit2c98bbacc8db3b251e1679f9da84cf1f5ed5726a (patch)
tree10d44c9b82d275d66d880ff8ec33992cddda12b5 /bin/ffimv
parentc8c79e6c6a5c4bb1e0ba44f309ce5ae612f97e1c (diff)
update ~/bin
Diffstat (limited to 'bin/ffimv')
-rwxr-xr-xbin/ffimv9
1 files changed, 9 insertions, 0 deletions
diff --git a/bin/ffimv b/bin/ffimv
new file mode 100755
index 0000000..1d2cfab
--- /dev/null
+++ b/bin/ffimv
@@ -0,0 +1,9 @@
+#!/bin/execlineb -P
+backtick -E tmp { mktemp }
+foreground {
+ if { redirfd -w 1 ${tmp} ff2png }
+ imv ${tmp}
+}
+if { rm -f ${tmp} }
+importas -ui ? ?
+exit ${?}