Is it possible to listen to events in stdout? something like "wlrctl window wait", that would always output any event (focus, maximize, open, close, fullscreen...) of any window, instead of waiting for a specific match. I tried with wait and waitfor, but i didn't feel like it was possible, and seems like it's already halfway done. By the way, "wlrct window list" is not documented in manpage :)
Yeah "list" is intentionally undocumented. I only use it in the zsh completions to offer relevant app_ids and titles for completion. It could be documented if I decide to pick an output format and stick with it.
Something like "wlrctl window watch" that would just print stuff thats happening could be good.