Choose automatically the monitor when sreen sharing instead of opening the hyprland share picker window

Hello, is it possible for the hyprland share picker to choose automatically the monitor instead of asking us which monitor/window we want to share ? Thanks

Hyprland version
Hyprland 0.54.2 built from branch v0.54.2 at commit 59f9f2688ac508a0584d1462151195a6c4992f99 clean (version: bump to 0.54.2).

Describe your issue / feature…

According to the documentation, that does not seem to be possible by default. However, it also states that you can select a custom binary as the share picker. You could clone the source of the normal share picker, change it to directly select a monitor instead of prompting for a user decision, compile the source into a differently named binary executable, and configure XDPH to use that instead of the normal one.

From skimming over the code, it appears to be relatively straightforward to adjust it to do what you are describing.