Kwin Scripts

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net


This script combines quick tiling in all directions and moving windows over monitors into four simple binds for the directions up/down/left/right.

Floating and maximized windows get tiled to the chosen direction just like regular quick tiling does it.

The rest, though pretty straightforward, is probably best explained with two examples. Assuming two monitors side by side:

Ex 1: Window tiled to the right side of the left monitor:
-left -> maximize window
-up -> tile top right
-down -> tile bottom right
-right -> tile to the left half of the right monitor

Ex 2: Window tiled to the top right quarter of the left monitor:
-left -> tile top
-up -> behave kind of weird**
-down -> tile right
-right -> tile to the top left quarter of the right monitor

** The window tiles to the bottom right of the right monitor.
When trying to move into a direction without monitor the behavior is not very obvious. That is due to the rather primitive way I implemented this.
If anybody has a good idea what to do in those cases then let me know. I could not think of a functionality I would want to have at the edges but not in all other places.
Be the first to comment
Be the first to comment
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
0 Affiliates
updated Feb 18 2016
added Feb 17 2016
downloads 24h
mediaviews 24h 0
pageviews 24h 1
System Tags linux unix