KWin scripting tutorial tutorial using old methods
The documentation says you should use workspace.clientList() to get the running windows, but in fact, on KDE 6 the method is workspace.windowList();
Edited by David Alcalá
The documentation says you should use workspace.clientList() to get the running windows, but in fact, on KDE 6 the method is workspace.windowList();