Skip to content

Instantly share code, notes, and snippets.

@mariushelf
mariushelf / cycle-window-tile
Created April 2, 2026 20:52
Cycle window through KDE tiles
#!/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.
@mariushelf
mariushelf / multi_task_learning.ipynb
Last active June 26, 2024 06:48
multi_task_learning.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.