Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Reading grim’s README, it looks like a terminal tool, while flameshot is a GUI tool. You mean flameshot should just wrap grim on wayland?


grim can write the image to stdout. GUI like [1] can read images from stdin. You can make a script that pipes one to the other and bind that in your compositor.

[1]: https://github.com/jtheoof/swappy


You can also use "display" from imagemagick with a pipe. Lots of people probably have that installed already.


It’s amazing to know pipe, stdin and stdout work for image, thanks!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: