https://github.com/ragusa87/kde-tiling-on-drag
Use KDE 5.27 Tilling manager and "tile" all window at the best positon without having to press the shift key
https://github.com/ragusa87/kde-tiling-on-drag
kde kwin kwin-script plasma tilling wayland
Last synced: 4 months ago
JSON representation
Use KDE 5.27 Tilling manager and "tile" all window at the best positon without having to press the shift key
- Host: GitHub
- URL: https://github.com/ragusa87/kde-tiling-on-drag
- Owner: ragusa87
- License: other
- Created: 2023-09-15T12:48:39.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-21T22:28:52.000Z (about 2 years ago)
- Last Synced: 2024-05-22T21:57:48.984Z (about 2 years ago)
- Topics: kde, kwin, kwin-script, plasma, tilling, wayland
- Language: TypeScript
- Homepage:
- Size: 142 KB
- Stars: 7
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# kde-tiling-on-drag
Use KDE 6+ Tiling manager and "tile" all windows at the best positon without having to press the `shift` key.
It will not split or add areas on the fly, the window is only resized to an existing area that you can define with `Meta+T` using KDE's tiling editor.
Single windows are maximized automatically.
*This extension is unstable.*
Requirements :
- Since version `v1.0.0`, KDE/Plasma 6 is required, for Plasma 5.27 use release `v0.1.6`.
Demo:

Resources :
* KWin documentation
* Plasma's MR that adds Tiling support
* KDE's Scripting support
Inspired by :
*
*
*
How to install :
1. Download a release from (file `kde-tiling-on-drag.kwinscript`).
2. Open Plasma setting and search for "KWin" (Windows Management -> KWin Script).
3. Click on "Install from file" and select the `kde-tiling-on-drag.kwinscript` file.
4. Enable this extension (kde-tiling-on-drag).
5. Click on Apply.
How to use it :
1. Make sure your enabled the tiling editor in the "Desktop effect" settings.
2. Press "Meta+T" to open the tiling Editor.
3. Setup a layout.
4. Drag or open any window, it will be tiled automatically.
How to compile and install from source :
1. Install requirements (`makefile`, `7z`, `npm`, `plasmapkg2` or `plasma-framework`)
2. Edit the source file
3. Run `make reload` to build the package and reload it in Plasma
Limitations :
* It's buggy
* You need to set at least a layout with 2 areas.
* There is no feature such as "switch layout", etc.
* If you need more, stick to a more advanced script. This one is only an [MVP](https://en.wikipedia.org/wiki/Minimum_viable_product).
* You can of course submit MR or fork.