Skip to main content

🥋 WinJitsu

Platform Python Requires License Latest release Build and tests

Snap your windows into place, with smooth animations.

WinJitsu is a slick, animated window management tool for Linux (X11). It allows you to effortlessly snap your active windows to various positions on your screen with smooth animations, making your workflow feel more organic and responsive. ✨

🌐 Website: https://evilchuck666.github.io/WinJitsu/

🎬 Demo

WinJitsu demo: a terminal snaps to halves, quarters, the center, fullscreen and the next monitor, with each action subtitled

Recorded on a two-monitor X11 desktop, with each action subtitled as it runs. Click the preview to watch the full-resolution video (MP4, 48 s).

✨ Features

  • Smooth Animations: Windows glide to their new positions instead of just jumping there. 🌬️
  • Grid Snapping: Position windows easily to the North, South, East, West, corners, or center. 🧭
  • Multi-Monitor Support: Move windows between displays with ease. 🖥️ ➡️ 🖥️
  • Fullscreen Toggling: Smart fullscreen with configurable padding, and restore to each window's home position. ↔️
  • Background Daemon: A small daemon answers hotkeys instantly and collapses key-repeat bursts into one action. ⚡
  • Config File: Persist your preferences in ~/.config/winjitsu/config.ini. ⚙️
  • CLI Overrides: Override config values when starting the daemon — no file editing needed. 🎛️

📥 Download

Channel Package
Arch Linux (AUR) winjitsu
PyPI WinJitsu
GitHub release Wheel and source archive

Release notes · SHA256SUMS.txt

🚀 Getting started

🏹 On Arch‑based systems

WinJitsu is available in the AUR. You can install it using your favorite AUR helper (e.g., yay):

yay -S winjitsu

🐍 From PyPI

pip install WinJitsu

xdotool still has to come from your distribution (see Requirements below).

▶️ First run

winjitsu --daemon   # start the daemon once per session
winjitsu E          # snap the active window to the right half

📋 Requirements

Make sure you have the following installed on your system:

  • Python 3.10+ 🐍
  • xdotool (for window manipulation)
  • python-xlib / python3-xlib (for screen detection via RandR)

Installing Dependencies

🐧 Arch‑based distributions (Arch Linux, EndeavourOS, Manjaro, etc.)

sudo pacman -S python xdotool python-xlib

🐧 Debian‑based distributions (Debian, Ubuntu, Linux Mint, etc.)

sudo apt install python3 xdotool python3-xlib

🐧 Fedora‑based distributions (Fedora, CentOS, etc.)

sudo dnf install python3 xdotool python3-xlib

🎮 Usage

Run the command with an action argument to control the active window:

winjitsu [ACTION] [OPTIONS]

⚠️ WinJitsu requires the daemon to be running. Start it once with winjitsu --daemon before using any action.

Available Actions

Action Description Emoji
N Move to North (Top Half) ⬆️
S Move to South (Bottom Half) ⬇️
E Move to East (Right Half) ➡️
W Move to West (Left Half) ⬅️
NE Move to North-East ↗️
NW Move to North-West ↖️
SE Move to South-East ↘️
SW Move to South-West ↙️
C Center the window (keeps its size) 🎯
F Fullscreen (minus padding) 🖥️
U Restore the window's home position 🔙
TF Toggle fullscreen / home position 🔄
TD Move to the next monitor 📺
CC Clear the window state cache 🧹

The home position is where a window was before WinJitsu first moved it. It is kept per window in ~/.cache/winjitsu/state.db (respects $XDG_CACHE_HOME) and reset whenever the daemon starts or you move the window yourself.

Binding keys

For the best experience, bind these commands to keyboard shortcuts in your window manager configuration (e.g., i3, creating custom shortcuts in GNOME/KDE).

Example:

  • Super + Up -> winjitsu N
  • Super + Right -> winjitsu E

Happy tiling! 🎉

📚 Learn more

  • Technical guide: configuration file and options, daemon mode, and installing from a wheel or from source.

⚖️ License

WinJitsu is free software released under the GNU General Public License v3.0 (GPL-3.0). See LICENSE.

Metadata

Release files for WinJitsu 0.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for WinJitsu 0.5.0
File Size Uploaded Provenance Actions
winjitsu-0.5.0.tar.gz 40.2 kB With provenance Details for winjitsu-0.5.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for WinJitsu 0.5.0
File Interpreter ABI Platform Actions
winjitsu-0.5.0-py3-none-any.whl Python 3 none any Details for winjitsu-0.5.0-py3-none-any.whl

Total release size: 75.8 kB

Release files / winjitsu-0.5.0.tar.gz

Download URL winjitsu-0.5.0.tar.gz
Size 40.2 kB
Tags Source
SHA-256 checksum
How to use checksums
1b69d661bcb992fcfcc4bb878587ac8ff50060368e3c433194a998ddc89faa12
BLAKE2b-256 checksum
How to use checksums
b7860e5678da7e66a3854e5c14bad79c8160fbf08399cd6daeb0de7626852e1d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 15, 2026.

Transparency log

Release files / winjitsu-0.5.0-py3-none-any.whl

Download URL winjitsu-0.5.0-py3-none-any.whl
Size 35.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d7907a557cde3bb8a452690b1d9d508a8d39c18de23404637b4d523e3806e93b
BLAKE2b-256 checksum
How to use checksums
02e4eeaf5d147a5adae3500c8695977e14925c756735812e20198d0ca8f69bd1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 15, 2026.

Transparency log

Security for WinJitsu 0.5.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for winjitsu-0.5.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 15, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page