dshoreman / nextshot

A simple tool for taking screenshots on Linux and sharing via Nextcloud

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No way to capture a single display

dshoreman opened this issue · comments

Originally part of #5, most of which was added for 0.2.

Currently we can only capture the entire display. We could select one screen in --selection mode, but that's prone to errors. We should add an argument such as --only OUTPUT to enable specifying the output.

May be able to query Xrandr to get the screen's dimensions and offset in order to crop the full screen image, but that doesn't help with identifying the active output. Nor does it help in Wayland.