🥋 WinJitsu
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
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 --daemonbefore 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 NSuper + 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.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| winjitsu-0.5.1.tar.gz | 39.9 kB | With provenance | Details for winjitsu-0.5.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| winjitsu-0.5.1-py3-none-any.whl | Python 3 | none | any | Details for winjitsu-0.5.1-py3-none-any.whl |
Total release size: 75.2 kB
Release files / winjitsu-0.5.1.tar.gz
| Download URL | winjitsu-0.5.1.tar.gz |
|---|---|
| Size | 39.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
95bda796de1a1516339a396783552882f8f5bb9032feaa7906580a84efe7f549
|
|
BLAKE2b-256 checksum How to use checksums |
dbff8720d66b2919bc34cad3f1e15b27f3e534c94e5a2ad00dd04d2ab427b65f
|
| 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 logRelease files / winjitsu-0.5.1-py3-none-any.whl
| Download URL | winjitsu-0.5.1-py3-none-any.whl |
|---|---|
| Size | 35.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8cc47c7ead32348bfdf0496a39fcf8bcb62a9ed9d480804180463b3caa188544
|
|
BLAKE2b-256 checksum How to use checksums |
0bdb311989ecc9d10bafc19fefc0bdb0865a71f32efbdfbd11422001d2f8798f
|
| 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 logSecurity for WinJitsu 0.5.1
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.
Attestation for winjitsu-0.5.1.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 logA 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.