Git Product home page Git Product logo

kwin-thirds's Introduction

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.

kwin-thirds's People

Contributors

lucasantarella avatar mpartel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

kwin-thirds's Issues

Wayland Session

I use kwin-thirds now for quite a while and I love it. I recently tried it in a Wayland session and something seems to break. The Window is moved around but not resized as expected.
Is it expected to run on Wayland and does break only on my specific setup?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.