davidedmundson added a comment.
You can do control+w with if (event.matches(StandardKey.Close)) { } alt+f4 would need some exposing on the kwin side as that's not a "standard key" exposed via the QPT REPOSITORY R114 Plasma Addons REVISION DETAIL https://phabricator.kde.org/D16897 To: ngraham, #plasma, #vdg, davidedmundson Cc: davidedmundson, abetts, Zren, plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, sebas, apol, mart