FR - Whitelist for no_screen_share

Hyprland version
0.54.2

Describe your issue / feature…

I’ve been playing around with an OCR project ( GitHub - moheladwy/OCR4Linux: OCR CLI Tool for Extracting Text from Screenshots (images) using bash, and python scripts for both x11 and wayland · GitHub ), and I was thinking that it’d be useful for no_screen_share = on to have a whitelist so that you could OCR text in e.g., a browser, but prohibit all other binaries from doing the same. Alternatively, you could have yes/no/ask for no_screen_share so that it can be confirmed on a case-by-case basis.

could be added, open a discussion on github.