lingtjien / Grid-Tiling-Kwin

A kwin script that automatically tiles windows
GNU General Public License v3.0
901 stars 43 forks source link
javascript kde kwin kwin-script plasma qml

Kwin Grid-Tiling Script

Install

mkdir -p ~/.local/share/kwin/scripts/grid-tiling
cd ~/.local/share/kwin/scripts/grid-tiling
ln -s <path>/contents
ln -s <path>/metadata.json

Functionality

Recommended Setup

Action Shortcut
Window to Next Desktop Meta+End
Window to Previous Desktop Meta+Home
Switch to Next Desktop Meta+Right
Switch to Previous Desktop Meta+Left
Toggle Overview Meta+Space
Move Window to Next Screen Meta+PgUp
Move Window to Previous Screen Meta+PgDown
Switch to Next Screen Meta+Up
Switch to Previous Screen Meta+Down
Grid Tiling: Move Left Meta+Ctrl+Left
Grid Tiling: Move Right Meta+Ctrl+Right
Grid Tiling: Move Up Meta+Ctrl+Up
Grid Tiling: Move Down Meta+Ctrl+Down
Switch to Window Left Meta+Alt+Left
Switch to Window Right Meta+Alt+Right
Switch to Window Above Meta+Alt+Up
Switch to Window Below Meta+Alt+Down
Grid Tiling: Increase Size Meta+=
Grid Tiling: Decrease Size Meta+-
Grid Tiling: Maximize Size Meta++
Grid Tiling: Minimize Size Meta+_
Grid Tiling: Tile/Float Meta+T
Grid Tiling: Toggle Gap Meta+G
Grid Tiling: Toggle Border Meta+B
Minimize Window Meta+N
Grid Tiling: Toggle Minimize Desktop Meta+M
Window Operations Menu Meta+`
Grid Tiling: Refresh Meta+R
Grid Tiling: Reset Meta+Ctrl+R
Close Window Meta+W
Grid Tiling: Close Desktop Meta+Q

Additional Info & Tips