soreau / wf-kill

MIT License
2 stars 1 forks source link

wf-kill

A way to close a wayfire view by clicking on it. Returns the client PID.

Build

meson build --prefix=/usr

ninja -C build

sudo ninja -C build install

Runtime

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.

Example

$ wf-kill
PID: 1644456

Notes

wf-kill returns the PID or "UNKNOWN" in the case of a remote client surface