-
Beta Was this translation helpful? Give feedback.
Answered by
N-R-K
Aug 19, 2025
Replies: 1 comment
-
$ scrot -M $(current_monitor) Currently there's no way to do this in scrot without help from external tool. But it seems like a reasonable feature request, so PRs are welcome. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
nishiiko
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
scrot
has a--monitor
/-M
switch which accepts which monitor to capture. Combine this with some tool that can output the currently focused monitor number and you should be able to get what you what:$ scrot -M $(current_monitor)
Currently there's no way to do this in scrot without help from external tool. But it seems like a reasonable feature request, so PRs are welcome.