Sample Header Ad - 728x90

How can I run a kwin script from the command line?

14 votes
3 answers
9270 views
I wrote a really basic kwin script to tile windows how I like them, // 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; iEDIT / Note In case you're not familiar, it's easy to bind command to hotkeys in KDE -- just right-click the application launcher, go to "Edit Applications", add a new item, enter the shell command in the "Command" box, and then set the shortcut key in the "Advanced" tab.
Asked by gatoatigrado (575 rep)
Feb 13, 2014, 07:59 PM
Last activity: May 17, 2024, 01:22 AM