diff --git a/1.3.md b/1.3.md index 32fbd5ed..22105bc2 100644 --- a/1.3.md +++ b/1.3.md @@ -5,6 +5,12 @@ - You no longer need to set the font_width value, your font size
is now calculated by fetch. - Image sizing now takes terminal height into account. +- `--size` now also takes a percentage as a value, for example. + +```sh +# Image takes up 70% of the terminal size. +fetch --size 70% +``` ### OS diff --git a/config/config b/config/config index 322c3126..da451036 100644 --- a/config/config +++ b/config/config @@ -269,7 +269,7 @@ crop_offset="center" # Image size # The image is half the terminal width by default. -# --size auto, px +# --size auto, px, 00% image_size="auto" # Right gap between image and text diff --git a/fetch b/fetch index 5002df95..35625bff 100755 --- a/fetch +++ b/fetch @@ -287,7 +287,7 @@ crop_offset="center" # Image size # The image is half the terminal width by default. -# --size auto, px +# --size auto, px, 00% image_size="auto" # Right gap between image and text