w3m_img.sh 313 B

123456789
  1. #! /bin/sh
  2. #### Determine size of Terminal
  3. height=`stty size | awk 'BEGIN {FS = " "} {print $1;}'`
  4. width=`stty size | awk 'BEGIN {FS = " "} {print $2;}'`
  5. ### Display Image / offset with mutt bar
  6. 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 &