如何从命令行运行kwin脚本?
我写了一个非常基本的kwin脚本来平铺我喜欢的窗户, // Main reference: http://techbase.kde.org/Development/Tutorials/KWin/Scripting // Top-level parameters. Adjust these as suitable for your desktop. var width = 3840; var third = Math.round(width / 3); var clients = workspace.clientList(); for (var i=0; i<clients.length; i++) { var client = clients[i]; var cap = client.caption.toLowerCase(); var g = client.geometry; if (cap.indexOf("firefox") != …