KWin script that keeps selected windows centered
- JavaScript 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
|
||
| .forgejo/workflows | ||
| assets | ||
| contents | ||
| metadata.json | ||
| README.md | ||
| renovate.json | ||
💠 Center Window on Resize
A KWin 6 script that keeps selected windows centered when their size changes.
Tested on Plasma 6 under Wayland.
Installation
Option 1: System Settings → Window Management → KWin Scripts → Get New... and search for Center Window on Resize. This enables native updates via KNewStuff.
Option 2: Download the .kwinscript file and install it through System Settings → Window Management → KWin Scripts, then enable it.
Option 3: Clone the repository and run
kpackagetool6 --type=KWin/Script -i .
Configuration
The target window classes are configurable in the script's settings (System Settings → Window Management → KWin Scripts → Configure...). Multiple classes can be given as a comma-separated list. Defaults to qView.
License
Licensed under MIT license.
