Image-viewer icon indicating copy to clipboard operation
Image-viewer copied to clipboard

Add support for pipe

Open baanan opened this issue 3 years ago • 2 comments

ls -n | rg foo | ImageViewer

Currently, this just opens the application's image picker, but it would be nice for this to open the files as an album. This would be useful for searching for some files with something like grep and then opening them.

baanan avatar Mar 29 '22 23:03 baanan

I just noticed that I'm an absolute Powershell noob and the same effect could just be accomplished with ImageViewer (ls -n | rg foo), but it would still be nice to have.

baanan avatar Mar 29 '22 23:03 baanan

I'm really really sorry for the really late reply. And thank you very much for your feedback.

I learned a new thing too. I haven't even thought about using rg with ImageViewer. One possibility is that an option to pass pattern-matching or regex through command-line args and do the matching inside ImageViewer... It's nice to have. Agreed. But no promises..

Thank you very much.

torum avatar Mar 07 '23 07:03 torum