Top right corner effect to close current maximized window

Windows close on alt+F4 I guess. If you emulate that with xdotool, it doesn’t matter if it’s csd or not. I use a top panel to which I added a widget called Spacer As Pager which allows me to do just that, top right corner and left click.
There’s also a custom screen edge script called KwinEdgeCommands but I didn’t take the time yet to look at the little error in it.
And believe it or not, the Napoleonistic app hotcorners-xd even works on current kde. Even comes with a working Skippy-xd ! Go figure. Wouldn’t really recommend that though.
In either case, emulating the key shortcut with xdotool does csd windows as well.

1 Like