Skip to content
Discussion options

You must be logged in to vote

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.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by nishiiko
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants