scripts

various script and utils
git clone git://z3bra.org/scripts
Log | Files | Refs

commit 979f9e6250043e51a90cd52c1a83477dcdbc51c3
parent 63c579cd4746a25b9662ccdd5ff28d11559d8b78
Author: z3bra <willy@mailoo.org>
Date:   Wed Feb  5 14:23:44 +0100

Now display the image in fullscreen

Diffstat:
imgt | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/imgt b/imgt @@ -14,7 +14,7 @@ LINES=`tput lines` read width height <<< `echo -e "5;$FILENAME" | $W3MIMGDISPLAY` max_width=$(($FONTW * $COLUMNS)) -max_height=$(($FONTH * $(($LINES - 1)))) # substract one line for prompt +max_height=$(($FONTH * $LINES)) if test $width -gt $max_width; then height=$(($height * $max_width / $width))