From 50adee4e79febf6f74594604e9f7083461b04227 Mon Sep 17 00:00:00 2001 From: Luke Date: Sun, 21 Jan 2018 18:29:48 -0700 Subject: "first" commit, preparing for LARBS 2.0 --- .config/mutt/muttimage.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 .config/mutt/muttimage.sh (limited to '.config/mutt/muttimage.sh') diff --git a/.config/mutt/muttimage.sh b/.config/mutt/muttimage.sh new file mode 100755 index 0000000..b67de83 --- /dev/null +++ b/.config/mutt/muttimage.sh @@ -0,0 +1,8 @@ +#! /bin/sh + +#### Determine size of Terminal +height=`stty size | awk 'BEGIN {FS = " "} {print $1;}'` +width=`stty size | awk 'BEGIN {FS = " "} {print $2;}'` + +### Display Image / offset with mutt bar +echo -e "2;3;\n0;1;210;20;$((width*7-250));$((height*14-100));0;0;0;0;$1\n4;\n3;" | /usr/lib/w3m/w3mimgdisplay & -- cgit v1.3.1