Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 
 

12 righe
321 B

  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 &