Provide list of currently running screencopy sessions #11053
Replies: 3 comments 6 replies
-
Completely forget to mention it, i am willing to contribute. |
Beta Was this translation helpful? Give feedback.
-
thats true, shouldnt be hard to do with hyprctl. MRs welcome |
Beta Was this translation helpful? Give feedback.
-
I had a deeper look at the code today, and currently there are multiple operations done on While i could just add a function here in the same style to get the currently active screencopy clients, invocation of this function will be via HyprCtl, and may occur at any time, leading to the risk of race conditions. Instead of focusing on my initial feature request, i am currently considering reworking the Screencopy implementation in general, removing the risks of race conditions, and adding more information to the Client objects, like wayland client informations / PID. This would allow to get further informations like, who is recording the screen currently. Of course, everything via XDPH will not be identifiable (without modifications there at least), but it should still be a major improvement to the current state. But also, i am new to this project, i may miss something, and locking is just not required for example. @vaxerski any strong opinions? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
While currently, it is possible to fetch screencopy events (session started, session ended) via IPC Sockets, there is no information about already started sessions.
Tools that, for example, disable notifications, or show an icon if we have an active screencopy would need the information about already running sessions at startup.
Beta Was this translation helpful? Give feedback.
All reactions