/kwin-quick-tile-enhancements

Enhancements for the KWin Quick Tile feature.

Primary LanguageJavaScriptGNU General Public License v2.0GPL-2.0

KWin Quick Tile Enhancements

Enhancements for the KWin Quick Tile feature.

KDE Plasma's window manager KWin is chock full of features. One feature that is not particularly fleshed out is Quick Tiling. Quick Tiling uses a keyboard shortcut or mouse gesture to quickly tile a window to a screen edge or screen corner.

Similar to window snapping in ChromeOS, in Windows 10, and in GNOME Shell.

Features

  1. Mouse friendly.
  2. Tiled windows automatically resize together.
  3. Smart tile placement.
  4. Remembers and restores window sizes when untiled. (Example)
  5. Prevent accidental window resize and movement when tiled. (Example 1, Example 2)

Examples

Quadrant Tiling

Quadrant Tiling

Smart Window Placement

Smart Window Placement

Installation

Using the KDE Store (recommended)

  1. Open the KWin Scripts settings window (search for and open using Krunner or Kickoff (Application Launcher)).
  2. Click Get New Scripts....
  3. Search for kwin quick tile enhancements.
  4. Click Install.

Manual

  1. Navigate to the Releases page and download the latest kwin-quick-tile-enhancements-*.kwinscript file.
  2. Open the KWin Scripts settings window (search for and open using Krunner or Kickoff (Application Launcher)).
  3. Click Install from File....
  4. Select the *.kwinscript file and click Apply. (You may have to close and re-open the KWin Scripts settings window for the script to appear in the list.)

Usage

  • Grab and drag a window to an edge or corner of the screen and then drop the window.
  • Use a Quick Tile Global Shortcut to tile a window to a screen edge or screen corner.

Keyboard Shortcuts

All useful keyboard shortcuts to this script are located in the KWin section of Global Shortcuts inside of the System Settings. The easiest way to open this window is through Kickoff (Application Launcher) or Krunner. Search for and open Global Shortcuts.

Use keyboard shortcuts to Quick Tile Windows

Set the shortcuts with the actions: Quick Tile Window to the (...)
Default shortcuts are: Meta+{Up,Down,Left,Right} which tile to each respective screen edge.
Corner quick tile shortcuts must be set manually.

Use keyboard shortcuts to navigate between windows

Set the shortcuts with the actions: Switch to Window (to the ...)
Default shortcuts are: Meta+Alt+{Up,Down,Left,Right}
Setting Vim keys (Meta+{H,J,K,L}) is recommended.

Warnings

  • Multi-monitor support not tested.

Alternatives