2026-02-21 22:32:40
I have implemented a KDE-Wayland analogue of XKill called...wait for it...wkill. Usage is like you'd expect: you run it, you get a crosshair, you click on the window you want to kill, and it is killed.
Technical implementation is, in essence:
On click, send `zwlr_foreign_toplevel_handle_v1.close()` to the compositor (politely requesting the application to an hero).
Then, resolve the PID from `/proc` by matching `app_id`,, then send **SIGTERM** (or **SIGKILL** if launched…
