hzeller / timg

A terminal image and video viewer.
GNU General Public License v2.0
1.97k stars 74 forks source link

Option to show all images at once with `--grid` and `-w` #87

Closed Chaz6 closed 1 year ago

Chaz6 commented 2 years ago

When using the grid option in combination with the wait time option to make a slide show, it would be useful to have have an option to show all the images in the grid at once. For example, timg -w5 --grid=2x1 image1.jpg image2.jpg image3.jpg image4.jpg would show image1.jpg and image2.jpg, then wait 5 seconds, then show image3.jpg and image4.jpg in a 2 by 1 grid.

hzeller commented 2 years ago

Ah, you mean essentially have -w apply per row not per image. -w comes from a time when there was no grid display in timg yet, so indeed it makes sense to reconsider.

Chaz6 commented 2 years ago

Yes please, you got it!

hzeller commented 1 year ago

Added a new option -wr that allows to set the wait time per row. It can be combined with -w so that you can have a wait per image and then an additional wait time per row.

Will be in the next release. Here is an AppImage if you want to try it out.