Closed feschber closed 2 years ago
You can configure exec_before
and exec_after
in your config file to run any command when the first screencast session is started and when the last one is closed. You could write a 0 or 1 into a file or do sth. more fancy. If you create sth. fancy for waybar, please share it ;).
You can configure
exec_before
andexec_after
in your config file to run any command when the first screencast session is started and when the last one is closed. You could write a 0 or 1 into a file or do sth. more fancy. If you create sth. fancy for waybar, please share it ;).
Ah thats exactly what I need. Didnt know there is a manpage, sorry.
The PipeWire IPC also allows one to monitor active streams. See e.g. pw-dump
/pw-mon
.
Is there a way to get the current screen sharing state? Gnome shows a handy little icon that indicates when the screen is currently shared. I would like to show this in my statusbar as well.
I guess I can listen for dbus events somehow, but I'm not really sure what to look for exactly