summaryrefslogtreecommitdiff
path: root/bin/muttimage
diff options
context:
space:
mode:
authorWayne Reeves <darthwayne@hotmail.com>2020-06-25 16:27:43 -0500
committerWayne Reeves <darthwayne@hotmail.com>2020-06-25 16:27:43 -0500
commitd4041b5953e0bebf86c85f9a29e25ad7f8af74dc (patch)
treefe58879b7e74a87fd43a388b708ad539e1de03a9 /bin/muttimage
parent07a4cc290dba7842b2ffc73ca86d23e3cc8f989a (diff)
parent497839b1ee804d86f9dac453108c7bbf071060ee (diff)
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'bin/muttimage')
-rwxr-xr-xbin/muttimage11
1 files changed, 0 insertions, 11 deletions
diff --git a/bin/muttimage b/bin/muttimage
deleted file mode 100755
index a846bea..0000000
--- a/bin/muttimage
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/usr/bin/env bash
-
-#get image resolution
-resolution=$(identify $1 | awk '{print $3}')
-IFS='x' # x is set as delimiter
-read -ra ADDR <<< "$resolution"
-width=${ADDR[0]}
-height=${ADDR[1]}
-
-### Display Image / offset with mutt bar
-echo -e "2;3;\n0;1;0;42;$((width));$((height));0;0;0;0;$1\n4;\n3;" | /usr/lib/w3m/w3mimgdisplay &