This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # Cycle the active window through available KWin Meta+T tiling spots | |
| # | |
| # KDE allows to tile windows to the left/right/top bottom with Meta+Left, Right, Top, Bottom. | |
| # With the Meta+T shortcut you can define custom tiles, e.g. a 3-column layout. However it is not | |
| # possible to move a window to a certain tile with a shortcut. | |
| # This is what this script helps with: it moves the active window to the "next" tile. | |
| # | |
| # Usage: cycle-window-tile [index] | |
| # index — move directly to this tile (0-based); logs error if out of range. If omitted, |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.