Waybar icon indicating copy to clipboard operation
Waybar copied to clipboard

Feature request: for privacy module - detect screen recording happening via `wlr-screencopy-v1`

Open MahouShoujoMivutilde opened this issue 1 year ago • 1 comments

At the moment (waybar v0.10.0) if you try to record your screen with wf-recorder or take a screenshot with grim which rely on the wlr-screencopy-v1 protocol the privacy module won't alert you.

I know you can just look for specific process of the recorder, but I'm interested in detecting the act of capture itself to have one generic "is something recording" module.

I don't know if it is possible to detect, but I'm just getting the issue out there, maybe someone knows how.

MahouShoujoMivutilde avatar Mar 17 '24 18:03 MahouShoujoMivutilde

There is no way for clients to detect that a screencopy is in progress.

The compositor would have to expose the information somehow before a module can display it.

WhyNotHugo avatar Apr 15 '24 11:04 WhyNotHugo