Skip to content

Tile a window to the left/middle/right third in KWin

Notifications You must be signed in to change notification settings

mpartel/kwin-thirds

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

A KWin script to easily tile a window to span the left/middle/right third of the desktop.

Suggested shortcuts (Meta = Windows key, usually):

  • "Meta+Left": Move the window to the left third. Repeat to toggle full height, top half, bottom half.

  • "Meta+Down": Move the window to the middle third. Repeat to toggle full height, top half, bottom half.

  • "Meta+Right": Move the window to the right third. Repeat to toggle full height, top half, bottom half.

  • "Meta+Ctrl+Left": Move the window to the left 2/3. Repeat to toggle full height, top half, bottom half.

  • "Meta+Ctrl+Down": Move the window to the middle 2/3. Repeat to toggle full height, top half, bottom half.

  • "Meta+Ctrl+Right": Move the window to the right 2/3. Repeat to toggle full height, top half, bottom half.

Tested on Kubuntu 18.04.

Works with multiple monitors.

Installation

Run ./install.sh

Activate the plugin from "System Settings" -> "Window management" -> "KWin Scripts".

The keyboard shortcuts usually conflict with existing shortcuts, so you'll have to configure them manually in "System Settings" -> "Shortcuts" -> "Global Keyboard Shortcuts" -> "KWin" -> search for "Thirds".

Uninstallation

Uninstall the package with plasmapkg2 -t kwinscript -r kwin-thirds. Remove the shortcuts with qdbus org.kde.kglobalaccel /component/kwin cleanUp.

About

Tile a window to the left/middle/right third in KWin

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published