Source i (link to git-repo or to original if based on someone elses unmodified work):

https://github.com/nclarius/KWin-window-geometry-scripts/tree/main/step-regrid

Original
0
Become a Fan
5.0

Description:
Adds keyboard shortcuts to stepwise reshape the window grid, that is, resize the active or all windows from the center axes depending of their position:
Example: shift rightwards (analogous for leftwards/upwards/downwards):
  • windows at the left screen edge: grow to right
  • windows at the right screen edge: shrink from left
  • windows in the middle: move right
  • windows in full width: do nothing
Whether to resize only the active or all present windows, as well as the step sizes and the keyboard shortcuts are configurable.

Related: On old Plasma versions, additional steps may be required after installation to make the configuration menu available. For more information on installation and configuration as well as any requests, please visit the GitHub page.

© 2021 Natalie Clarius ‹natalie_clarius@yahoo.de›

This work is licensed under the GNU General Public License v3.0.
This program comes with absolutely no warranty.
This is free software, and you are welcome to redistribute and/or modify it under certain conditions.

If you would like to thank me, you can always make me happy with a review or a cup of coffee:
Last changelog:

v3.0

- refactor code
- update readme for compatibility with older Plasma versions


Ratings & Comments

2 Comments

herrbatka

The problem is that when I am extending the first column out of 3 to the right, this script will shrink always the last column. It would be better, I think if the script would instead shrink the second column as it is closer. Generally speaking, this is a really nice idea, but it focuses on 2x2 exclusively.

herrbatka

Very nice, very useful idea. Personally, I would also enjoy having a keyboard shortcut to fill grid (scale window in such a way that it will fill up "grid hole". It would be also nice If this script would handle other grid sizes (for instance, first column 1 row | second column 2 rows | third column 1 row. I think it would have to somehow pick which column/row would be scaled in a smarter fashion.

Pling
0 Affiliates
Details
license GPLv3
version v3.0
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 3

More Kwin Scripts from nclarius:

Application Switcher
nclarius
last update date: 2 years ago

Score 5.8

Window Gaps
nclarius
last update date: 2 years ago

Score 7.3

Floating Tiles - Prevent Window Overlap
nclarius
last update date: 2 years ago

Score 7.9

Always Open on Focused Screen
nclarius
last update date: 2 years ago

Score 6.3

Always Open on Primary Screen
nclarius
last update date: 2 years ago

Score 7.2

Always Open on Active Screen
nclarius
last update date: 2 years ago

Score 8.1

Other Kwin Scripts:

Snap To Deco
thomas12777
last update date: 11 years ago

Score 5.0

Unminimize windows w/o taskbar entry
thomas12777
last update date: 11 years ago

Score 5.0

MiniStack
faho
last update date: 11 years ago

Score 5.0

Debug Clients
thomas12777
last update date: 11 years ago

Score 5.0

TIL3R
causa-prima
last update date: 11 years ago

Score 5.7

Spam Transients
thomas12777
last update date: 10 years ago

Score 5.0



System Tags