A way to close a wayfire view by clicking on it. Returns the client PID.
meson build --prefix=/usr
ninja -C build
sudo ninja -C build install
Enable Wayfire Kill View Protocol plugin 'wf-kill'
Run wf-kill
and click on a window. This will send the close event to the client.
Run wf-kill -k
to also send SIGKILL to the client.
$ wf-kill
PID: 1644456
wf-kill returns the PID or "UNKNOWN" in the case of a remote client surface