emvaized / kde-snap-assist

KWin script for KDE Plasma which suggests other window thumbnails on snap
https://store.kde.org/p/1875687
GNU General Public License v3.0
119 stars 7 forks source link
kde kde-plasma kwin kwin-script linux tiling-window-manager

KDE Snap Assist

KDE Store GitHub Release

[!NOTE]\ ⚠️ Only Plasma 5 is supported for now! Plasma 6 port is being worked on

This KWin script for KDE Plasma suggests other window thumbnails on snap. It tries to replicate the famous Windows 10/11 feature of the same name.

Assist can be shown by dragging a window to the screen edge, as well as via default keyboard shortcuts (super + arrows). You can select the window with mouse, as well as with arrow keys + Enter. To dismiss the assist, hit Escape key, press the close button or click anywhere on the empty area. Script also supports quarter and triple tiling: you can switch layouts with the Tab key or using the button in corner.

Ideas, suggestions, bugs reports and contributions to the project are welcome!

Support

This project is in need of your support! If you enjoy it and want to keep it going on, please consider supporting by making a small donation using one of the services below!

Support on Ko-fi    Donate using Liberapay    Donate Bitcoin

Screenshot

screenshot_snapassist

Manual Installation

In order to install this script manually from GitHub, you'd need to:

There is also experimental 2.0-dev version, which you could help to test!

Snap Groups

Since version 1.4, there are also experimental snap group features:

When you enable any of these options in the script settings, it will start tracking windows snapped via the script. Group of snapped windows is remembered once you fill the layout using the assist. Window is no longer considered snapped once it was closed or moved manually using the mouse (sometimes you need to do it twice to break it from the group). Snap groups are not persistent, and should be recreated after each reboot.

Compatibility notes

Compatibility with Window Gap

Compatibility with Exquisite

Compatibility with Sticky Window Snapping

Compatibility with diagonal keyboard shortcuts

Troubleshooting