Y
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
Arnavion
1923 days ago
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
link
ficklepickle
1922 days ago
You can also use "display" from imagemagick with a pipe. Lots of people probably have that installed already.
link
jhvkjhk
1922 days ago
It’s amazing to know pipe, stdin and stdout work for image, thanks!
link
[1]: https://github.com/jtheoof/swappy