trying --capture region:
RUST_BACKTRACE=full shotman --capture region
thread 'main' panicked at src/main.rs:1128:22:
error handling configure event: no buffer_info for screenshot
stack backtrace:
0: 0x5663cf1f0a47 - <unknown>
1: 0x5663cf13f8a3 - <unknown>
2: 0x5663cf1c1602 - <unknown>
3: 0x5663cf1f5ab2 - <unknown>
4: 0x5663cf1f57fb - <unknown>
5: 0x5663cf1f60ef - <unknown>
6: 0x5663cf1f5b88 - <unknown>
7: 0x5663cf1f5ae9 - <unknown>
8: 0x5663cf1f5adc - <unknown>
9: 0x5663cf0d0faf - <unknown>
10: 0x5663cf0d1345 - <unknown>
11: 0x5663cf0ee308 - <unknown>
12: 0x5663cf183047 - <unknown>
13: 0x5663cf1745ec - <unknown>
14: 0x5663cf1a5c99 - <unknown>
15: 0x5663cf17b656 - <unknown>
16: 0x5663cf19b5c7 - <unknown>
17: 0x732d7105ae08 - <unknown>
18: 0x732d7105aecc - __libc_start_main
19: 0x5663cf0d58a5 - <unknown>
20: 0x0 - <unknown>
trying --capture window:
Error: error getting region for current output
Caused by:
0: running swaymsg failed
1: No such file or directory (os error 2)
trying --capture output gives the same error as --capture region.
I'm on the latest version of hyprland.
This seems to be the same compositor bug as: https://todo.sr.ht/~whynothugo/shotman/28
Regarding taking a screenshot of a single window, this is only supported on sway. From the README:
Taking screenshots of the currently active window works only on sway and requires swaymsg.
Once wlroots merges ext-image-capture-source-v1support, I can rewrite the image-capturing logic to work on any compositor.
Sorry about the duplicate report (and for not properly checking the readme 🥲).
Once wlroots merges ext-image-capture-source-v1support, I can rewrite the image-capturing logic to work on any compositor.
Will be waiting <3. I really loved how much more simplistic it was than flameshot but guess I'm stuck with it for a while. Thank you for your great work!