My dotfiles for my Linux rice managed with stow and make
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

muttimage.sh 315B

12345678
  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 &