Hacker News new | ask | show | jobs
by jhvkjhk 1923 days ago
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?
1 comments

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!