您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

1234567891011
  1. #!/bin/bash
  2. #get image resolution
  3. resolution=$(identify $1 | awk '{print $3}')
  4. IFS='x' # x is set as delimiter
  5. read -ra ADDR <<< "$resolution"
  6. width=${ADDR[0]}
  7. height=${ADDR[1]}
  8. ### Display Image / offset with mutt bar
  9. echo -e "2;3;\n0;1;0;42;$((width));$((height));0;0;0;0;$1\n4;\n3;" | /usr/lib/w3m/w3mimgdisplay &